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_15326900_24535.cpp:1:1: error: 'include' does not name a type
 include <bits/stdc++.h>
 ^
0_0_15326900_24535.cpp:27:9: error: 'pair' does not name a type
 typedef pair<int, int> pii;
         ^
0_0_15326900_24535.cpp: In function 'void spfa(int, ll*)':
0_0_15326900_24535.cpp:91:5: error: 'queue' was not declared in this scope
     queue<int> Q;
     ^
0_0_15326900_24535.cpp:91:11: error: expected primary-expression before 'int'
     queue<int> Q;
           ^
0_0_15326900_24535.cpp:93:53: error: 'pow' was not declared in this scope
     for (int i = 1; i <= nn; i ++) d[i] = pow(10, 18) + 7;
                                                     ^
0_0_15326900_24535.cpp:15:42: error: 'memset' was not declared in this scope
 #define mset(a, x) memset(a, x, sizeof(a))
                                          ^
0_0_15326900_24535.cpp:97:5: note: in expansion of macro 'mset'
     mset(used, 0);
     ^
0_0_15326900_24535.cpp:99:5: error: 'Q' was not declared in this scope
     Q.push(s);
     ^
0_0_15326900_24535.cpp: In function 'int main()':
0_0_15326900_24535.cpp:19:31: error: 'cin' was not declared in this scope
 #define cas() int T, cas = 0; cin >> T; while (T --)
                               ^
0_0_15326900_24535.cpp:143:5: note: in expansion of macro 'cas'
     cas() {
     ^
0_0_15326900_24535.cpp:145:36: error: 'printf' was not declared in this scope
         printf("Case #%d: ", ++ cas);
                                    ^
0_0_15326900_24535.cpp:15:42: error: 'memset' was not declared in this scope
 #define mset(a, x) memset(a, x, sizeof(a))
                                          ^
0_0_15326900_24535.cpp:151:9: note: in expansion of macro 'mset'
         mset(head, -1);
         ^
0_0_15326900_24535.cpp:157:33: error: 'scanf' was not declared in this scope
             scanf("%d%d", &t, &s);
                                 ^
0_0_15326900_24535.cpp:177:29: error: 'pow' was not declared in this scope
         ll mind = pow(10, 18);
                             ^
0_0_15326900_24535.cpp:181:9: error: 'vector' was not declared in this scope
         vector<int> ans;
         ^
0_0_15326900_24535.cpp:181:16: error: expected primary-expression before 'int'
         vector<int> ans;
                ^
0_0_15326900_24535.cpp:185:44: error: 'max' was not declared in this scope
             if (umin(mind, max(d1[i], dn[i]))) yes = true;
                                            ^
0_0_15326900_24535.cpp:191:29: error: 'puts' was not declared in this scope
             puts("Evil John");
                             ^
0_0_15326900_24535.cpp:197:9: error: 'cout' was not declared in this scope
         cout << mind / 2 << endl;
         ^
0_0_15326900_24535.cpp:197:29: error: 'endl' was not declared in this scope
         cout << mind / 2 << endl;
                             ^
0_0_15326900_24535.cpp:201:33: error: 'max' was not declared in this scope
             if (max(d1[i], dn[i]) == mind) {
                                 ^
0_0_15326900_24535.cpp:203:17: error: 'ans' was not declared in this scope
                 ans.pb(i);
                 ^
0_0_15326900_24535.cpp:209:18: error: 'ans' was not declared in this scope
         sort(all(ans));
                  ^
0_0_15326900_24535.cpp:13:17: note: in definition of macro 'all'
 #define all(a) (a).begin(), (a).end()
                 ^
0_0_15326900_24535.cpp:209:22: error: 'sort' was not declared in this scope
         sort(all(ans));
                      ^


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 18:23:49, Gzip enabled