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_15695422_29182.cpp: In function 'int log_2(int)':
0_0_15695422_29182.cpp:35:1: error: expected primary-expression before '?' token
 ? ? while ((1 << ans) <= x)
 ^
0_0_15695422_29182.cpp:35:3: error: expected primary-expression before '?' token
 ? ? while ((1 << ans) <= x)
   ^
0_0_15695422_29182.cpp:35:5: error: expected primary-expression before 'while'
 ? ? while ((1 << ans) <= x)
     ^
0_0_15695422_29182.cpp:35:5: error: expected ':' before 'while'
0_0_15695422_29182.cpp:35:5: error: expected primary-expression before 'while'
0_0_15695422_29182.cpp:35:5: error: expected ':' before 'while'
0_0_15695422_29182.cpp:35:5: error: expected primary-expression before 'while'
0_0_15695422_29182.cpp:39:1: error: expected primary-expression before '?' token
 ? ? return ans - 1;
 ^
0_0_15695422_29182.cpp:39:3: error: expected primary-expression before '?' token
 ? ? return ans - 1;
   ^
0_0_15695422_29182.cpp:39:5: error: expected primary-expression before 'return'
 ? ? return ans - 1;
     ^
0_0_15695422_29182.cpp:39:5: error: expected ':' before 'return'
0_0_15695422_29182.cpp:39:5: error: expected primary-expression before 'return'
0_0_15695422_29182.cpp:39:5: error: expected ':' before 'return'
0_0_15695422_29182.cpp:39:5: error: expected primary-expression before 'return'
0_0_15695422_29182.cpp: In function 'int get_id(int, int, int, int, int)':
0_0_15695422_29182.cpp:45:1: error: expected primary-expression before '?' token
 ? ? if(flg == 0)
 ^
0_0_15695422_29182.cpp:45:3: error: expected primary-expression before '?' token
 ? ? if(flg == 0)
   ^
0_0_15695422_29182.cpp:45:5: error: expected primary-expression before 'if'
 ? ? if(flg == 0)
     ^
0_0_15695422_29182.cpp:45:5: error: expected ':' before 'if'
0_0_15695422_29182.cpp:45:5: error: expected primary-expression before 'if'
0_0_15695422_29182.cpp:45:5: error: expected ':' before 'if'
0_0_15695422_29182.cpp:45:5: error: expected primary-expression before 'if'
0_0_15695422_29182.cpp:49:1: error: expected primary-expression before '?' token
 ? ? else if (flg < 3)
 ^
0_0_15695422_29182.cpp:49:3: error: expected primary-expression before '?' token
 ? ? else if (flg < 3)
   ^
0_0_15695422_29182.cpp:49:5: error: expected primary-expression before 'else'
 ? ? else if (flg < 3)
     ^
0_0_15695422_29182.cpp:49:5: error: expected ':' before 'else'
0_0_15695422_29182.cpp:49:5: error: expected primary-expression before 'else'
0_0_15695422_29182.cpp:49:5: error: expected ':' before 'else'
0_0_15695422_29182.cpp:49:5: error: expected primary-expression before 'else'
0_0_15695422_29182.cpp:56:1: error: expected primary-expression before '?' token
 ? ? else
 ^
0_0_15695422_29182.cpp:56:3: error: expected primary-expression before '?' token
 ? ? else
   ^
0_0_15695422_29182.cpp:56:5: error: expected primary-expression before 'else'
 ? ? else
     ^
0_0_15695422_29182.cpp:56:5: error: expected ':' before 'else'
0_0_15695422_29182.cpp:56:5: error: expected primary-expression before 'else'
0_0_15695422_29182.cpp:56:5: error: expected ':' before 'else'
0_0_15695422_29182.cpp:56:5: error: expected primary-expression before 'else'
0_0_15695422_29182.cpp: In function 'void _addedge(int, int, int)':
0_0_15695422_29182.cpp:65:1: error: expected primary-expression before '?' token
 ? ? to[E] = v;
 ^
0_0_15695422_29182.cpp:65:3: error: expected primary-expression before '?' token
 ? ? to[E] = v;
   ^
0_0_15695422_29182.cpp:65:14: error: expected ':' before ';' token
 ? ? to[E] = v;
              ^
0_0_15695422_29182.cpp:65:14: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:65:14: error: expected ':' before ';' token
0_0_15695422_29182.cpp:65:14: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:66:1: error: expected primary-expression before '?' token
 ? ? cap[E] = w;
 ^
0_0_15695422_29182.cpp:66:3: error: expected primary-expression before '?' token
 ? ? cap[E] = w;
   ^
0_0_15695422_29182.cpp:66:15: error: expected ':' before ';' token
 ? ? cap[E] = w;
               ^
0_0_15695422_29182.cpp:66:15: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:66:15: error: expected ':' before ';' token
0_0_15695422_29182.cpp:66:15: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:67:1: error: expected primary-expression before '?' token
 ? ? nxt[E] = head[u];
 ^
0_0_15695422_29182.cpp:67:3: error: expected primary-expression before '?' token
 ? ? nxt[E] = head[u];
   ^
0_0_15695422_29182.cpp:67:21: error: expected ':' before ';' token
 ? ? nxt[E] = head[u];
                     ^
0_0_15695422_29182.cpp:67:21: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:67:21: error: expected ':' before ';' token
0_0_15695422_29182.cpp:67:21: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:68:1: error: expected primary-expression before '?' token
 ? ? head[u] = E ++;
 ^
0_0_15695422_29182.cpp:68:3: error: expected primary-expression before '?' token
 ? ? head[u] = E ++;
   ^
0_0_15695422_29182.cpp:68:19: error: expected ':' before ';' token
 ? ? head[u] = E ++;
                   ^
0_0_15695422_29182.cpp:68:19: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:68:19: error: expected ':' before ';' token
0_0_15695422_29182.cpp:68:19: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp: In function 'void addedge(int, int, int)':
0_0_15695422_29182.cpp:74:1: error: expected primary-expression before '?' token
 ? ? _addedge(u, v, w);
 ^
0_0_15695422_29182.cpp:74:3: error: expected primary-expression before '?' token
 ? ? _addedge(u, v, w);
   ^
0_0_15695422_29182.cpp:74:22: error: expected ':' before ';' token
 ? ? _addedge(u, v, w);
                      ^
0_0_15695422_29182.cpp:74:22: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:74:22: error: expected ':' before ';' token
0_0_15695422_29182.cpp:74:22: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:75:1: error: expected primary-expression before '?' token
 ? ? _addedge(v, u, 0);
 ^
0_0_15695422_29182.cpp:75:3: error: expected primary-expression before '?' token
 ? ? _addedge(v, u, 0);
   ^
0_0_15695422_29182.cpp:75:22: error: expected ':' before ';' token
 ? ? _addedge(v, u, 0);
                      ^
0_0_15695422_29182.cpp:75:22: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:75:22: error: expected ':' before ';' token
0_0_15695422_29182.cpp:75:22: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp: In function 'bool bfs(int, int)':
0_0_15695422_29182.cpp:81:1: error: expected primary-expression before '?' token
 ? ? memset(dep, -1, sizeof(dep));
 ^
0_0_15695422_29182.cpp:81:3: error: expected primary-expression before '?' token
 ? ? memset(dep, -1, sizeof(dep));
   ^
0_0_15695422_29182.cpp:81:33: error: expected ':' before ';' token
 ? ? memset(dep, -1, sizeof(dep));
                                 ^
0_0_15695422_29182.cpp:81:33: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:81:33: error: expected ':' before ';' token
0_0_15695422_29182.cpp:81:33: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:82:1: error: expected primary-expression before '?' token
 ? ? dep[T] = 0;
 ^
0_0_15695422_29182.cpp:82:3: error: expected primary-expression before '?' token
 ? ? dep[T] = 0;
   ^
0_0_15695422_29182.cpp:82:15: error: expected ':' before ';' token
 ? ? dep[T] = 0;
               ^
0_0_15695422_29182.cpp:82:15: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:82:15: error: expected ':' before ';' token
0_0_15695422_29182.cpp:82:15: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:83:1: error: expected primary-expression before '?' token
 ? ? int front = 0, rear = 0;
 ^
0_0_15695422_29182.cpp:83:3: error: expected primary-expression before '?' token
 ? ? int front = 0, rear = 0;
   ^
0_0_15695422_29182.cpp:83:5: error: expected primary-expression before 'int'
 ? ? int front = 0, rear = 0;
     ^
0_0_15695422_29182.cpp:83:5: error: expected ':' before 'int'
0_0_15695422_29182.cpp:83:5: error: expected primary-expression before 'int'
0_0_15695422_29182.cpp:83:5: error: expected ':' before 'int'
0_0_15695422_29182.cpp:83:5: error: expected primary-expression before 'int'
0_0_15695422_29182.cpp:84:1: error: expected primary-expression before '?' token
 ? ? Q[rear ++] = T;
 ^
0_0_15695422_29182.cpp:84:3: error: expected primary-expression before '?' token
 ? ? Q[rear ++] = T;
   ^
0_0_15695422_29182.cpp:84:7: error: 'rear' was not declared in this scope
 ? ? Q[rear ++] = T;
       ^
0_0_15695422_29182.cpp:84:19: error: expected ':' before ';' token
 ? ? Q[rear ++] = T;
                   ^
0_0_15695422_29182.cpp:84:19: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:84:19: error: expected ':' before ';' token
0_0_15695422_29182.cpp:84:19: error: expected primary-expression before ';' token
0_0_15695422_29182.cpp:85:1: error: expected primary-expression before '?' token
 ? ? while (front != rear && dep[S] == -1)
 ^
0_0_15695422_29182.cpp:85:3: error: exp


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 19:58:32, Gzip enabled