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_26842810_7464.cpp:3:9: error: 'maxn' was not declared in this scope
 int vis[maxn];
         ^
0_0_26842810_7464.cpp:4:8: error: 'maxn' was not declared in this scope
 int SG[maxn];
        ^
0_0_26842810_7464.cpp: In function 'void init()':
0_0_26842810_7464.cpp:7:16: error: 'vis' was not declared in this scope
         memset(vis,0,sizeof(vis));
                ^
0_0_26842810_7464.cpp:9:17: error: 'SG' was not declared in this scope
             vis[SG[i-j]]=true;
                 ^
0_0_26842810_7464.cpp:12:17: error: 'SG' was not declared in this scope
             vis[SG[j]^SG[i-j]]=true;
                 ^
0_0_26842810_7464.cpp:16:17: error: 'SG' was not declared in this scope
                 SG[i]=j;
                 ^
0_0_26842810_7464.cpp:22:23: error: 'SG' was not declared in this scope
         cout<<i<<" "<<SG[i]<<endl;
                       ^


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-09-21 16:18:54, Gzip enabled