F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_38514804_9345.cpp: In function 'void test()':
0_0_38514804_9345.cpp:34:14: error: 'time' was not declared in this scope
  srand(time(0));
              ^
0_0_38514804_9345.cpp:34:15: error: 'srand' was not declared in this scope
  srand(time(0));
               ^
0_0_38514804_9345.cpp:37:2: error: 'cout' was not declared in this scope
  cout << t << endl;
  ^
0_0_38514804_9345.cpp:37:15: error: 'endl' was not declared in this scope
  cout << t << endl;
               ^
0_0_38514804_9345.cpp:43:17: error: 'rand' was not declared in this scope
    int x = rand() % 100000;
                 ^
0_0_38514804_9345.cpp: In function 'void slove()':
0_0_38514804_9345.cpp:55:2: error: 'map' was not declared in this scope
  map<string, int>mp;
  ^
0_0_38514804_9345.cpp:55:6: error: 'string' was not declared in this scope
  map<string, int>mp;
      ^
0_0_38514804_9345.cpp:55:14: error: expected primary-expression before 'int'
  map<string, int>mp;
              ^
0_0_38514804_9345.cpp:57:16: error: 'scanf' was not declared in this scope
  scanf("%d", &n);
                ^
0_0_38514804_9345.cpp:59:2: error: 'vector' was not declared in this scope
  vector<MC>a;
  ^
0_0_38514804_9345.cpp:59:11: error: expected primary-expression before '>' token
  vector<MC>a;
           ^
0_0_38514804_9345.cpp:59:12: error: 'a' was not declared in this scope
  vector<MC>a;
            ^
0_0_38514804_9345.cpp:62:32: error: 'abs' was not declared in this scope
   int x = abs(v[i].x1 - v[i].x2);
                                ^
0_0_38514804_9345.cpp:71:2: error: 'queue' was not declared in this scope
  queue<Node>q;
  ^
0_0_38514804_9345.cpp:71:12: error: expected primary-expression before '>' token
  queue<Node>q;
            ^
0_0_38514804_9345.cpp:71:13: error: 'q' was not declared in this scope
  queue<Node>q;
             ^
0_0_38514804_9345.cpp:72:30: error: 'sort' was not declared in this scope
  sort(a.begin(), a.end(), cmp);
                              ^
0_0_38514804_9345.cpp:83:9: error: expected primary-expression before 'int'
  vector<int>f(m, 0);
         ^
0_0_38514804_9345.cpp:93:21: error: 'printf' was not declared in this scope
   printf("%d\n", ans);
                     ^
0_0_38514804_9345.cpp: In function 'int main()':
0_0_38514804_9345.cpp:102:2: error: 'cin' was not declared in this scope
  cin >> t;
  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-22 21:29:29, Gzip enabled