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_20988920_26061.cpp:4:28: error: stray '#' in program
     for(i = 2; i < maxn; i++){
                            ^
0_0_20988920_26061.cpp:4:33: error: stray '#' in program
     for(i = 2; i < maxn; i++){
                                 ^
0_0_20988920_26061.cpp:6:32: error: stray '#' in program
         for(j = 0; j <= i-2; j++) vis[SG[j] ^ SG[i-j-2]] = 1;
                                ^
0_0_20988920_26061.cpp:6:37: error: stray '#' in program
         for(j = 0; j <= i-2; j++) vis[SG[j] ^ SG[i-j-2]] = 1;
                                     ^
0_0_20988920_26061.cpp:7:32: error: stray '#' in program
         for(j = 0; j < maxn; j++) if(!vis[j]){
                                ^
0_0_20988920_26061.cpp:7:37: error: stray '#' in program
         for(j = 0; j < maxn; j++) if(!vis[j]){
                                     ^
0_0_20988920_26061.cpp: In function 'void getSG()':
0_0_20988920_26061.cpp:3:5: error: 'SG' was not declared in this scope
     SG[0] = SG[1] = 0;
     ^
0_0_20988920_26061.cpp:4:20: error: 'maxn' was not declared in this scope
     for(i = 2; i < maxn; i++){
                    ^
0_0_20988920_26061.cpp:4:31: error: expected ')' before ';' token
     for(i = 2; i < maxn; i++){
                               ^
0_0_20988920_26061.cpp:4:34: error: lvalue required as unary '&' operand
     for(i = 2; i < maxn; i++){
                                  ^
0_0_20988920_26061.cpp:4:37: error: expected primary-expression before ')' token
     for(i = 2; i < maxn; 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 00:06:57, Gzip enabled