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_20989885_6431.cpp:19:19: error: '#' is not followed by a macro parameter
 #define FF(i, a, b) for(int i = (a); i < (b); ++i)
                   ^
0_0_20989885_6431.cpp:21:19: error: '#' is not followed by a macro parameter
 #define FE(i, a, b) for(int i = (a); i <= (b); ++i)
                   ^
0_0_20989885_6431.cpp:23:17: error: '#' is not followed by a macro parameter
 #define REP(i, N) for(int i = 0; i < (N); ++i)
                 ^
0_0_20989885_6431.cpp:60:43: error: stray '#' in program
             if (!ch[u][v]) ch[u][v] = tol++;
                                           ^
0_0_20989885_6431.cpp:60:48: error: stray '#' in program
             if (!ch[u][v]) ch[u][v] = tol++;
                                                ^
0_0_20989885_6431.cpp:62:20: error: stray '#' in program
             num[u]++;
                    ^
0_0_20989885_6431.cpp:62:25: error: stray '#' in program
             num[u]++;
                         ^
0_0_20989885_6431.cpp:108:19: error: stray '#' in program
     head[x] = tot++;
                   ^
0_0_20989885_6431.cpp:108:24: error: stray '#' in program
     head[x] = tot++;
                        ^
0_0_20989885_6431.cpp:159:18: error: stray '#' in program
     sort(qy, qy + m);
                  ^
0_0_20989885_6431.cpp:177:18: error: stray '#' in program
             rank++;
                  ^
0_0_20989885_6431.cpp:177:23: error: stray '#' in program
             rank++;
                       ^
0_0_20989885_6431.cpp:179:19: error: stray '#' in program
             now.k++;
                   ^
0_0_20989885_6431.cpp:179:24: error: stray '#' in program
             now.k++;
                        ^
0_0_20989885_6431.cpp:191:32: error: stray '#' in program
     for (int i = 0; i <= 60; i++) BIT[i] = 1ll << i;
                                ^
0_0_20989885_6431.cpp:191:37: error: stray '#' in program
     for (int i = 0; i <= 60; i++) BIT[i] = 1ll << i;
                                     ^
0_0_20989885_6431.cpp: In member function 'void Trie::insert(LL)':
0_0_20989885_6431.cpp:60:49: error: lvalue required as unary '&' operand
             if (!ch[u][v]) ch[u][v] = tol++;
                                                 ^
0_0_20989885_6431.cpp:62:26: error: lvalue required as unary '&' operand
             num[u]++;
                          ^
0_0_20989885_6431.cpp: In function 'void add_edge(int, int, LL)':
0_0_20989885_6431.cpp:108:25: error: lvalue required as unary '&' operand
     head[x] = tot++;
                         ^
0_0_20989885_6431.cpp: In function 'void solve()':
0_0_20989885_6431.cpp:147:9: error: 'i' was not declared in this scope
     REP(i, n - 1)
         ^
0_0_20989885_6431.cpp:147:17: error: 'REP' was not declared in this scope
     REP(i, n - 1)
                 ^
0_0_20989885_6431.cpp:159:19: error: invalid operands of types 'query [200010]' and 'int' to binary 'operator&'
     sort(qy, qy + m);
                   ^
0_0_20989885_6431.cpp:159:24: error: expected ';' before ')' token
     sort(qy, qy + m);
                        ^
0_0_20989885_6431.cpp:165:15: error: 'FE' was not declared in this scope
     FE(i, 1, n)
               ^
0_0_20989885_6431.cpp: In function 'int main()':
0_0_20989885_6431.cpp:191:35: error: expected ')' before ';' token
     for (int i = 0; i <= 60; i++) BIT[i] = 1ll << i;
                                   ^
0_0_20989885_6431.cpp:191:38: error: lvalue required as unary '&' operand
     for (int i = 0; i <= 60; i++) BIT[i] = 1ll << i;
                                      ^
0_0_20989885_6431.cpp:191:41: error: expected primary-expression before ')' token
     for (int i = 0; i <= 60; i++) BIT[i] = 1ll << i;
                                         ^


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-23 10:52:53, Gzip enabled