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_28662476_16980.cpp: In function 'void fei()':
0_0_28662476_16980.cpp:9:5: error: 'f' was not declared in this scope
     f[0]=1;
     ^
0_0_28662476_16980.cpp:10:22: error: 'N' was not declared in this scope
     for(int i=1;f[i]<N;i++){
                      ^
0_0_28662476_16980.cpp: In function 'void SG(int)':
0_0_28662476_16980.cpp:16:12: error: 'sg' was not declared in this scope
     memset(sg,0,sizeof(sg));
            ^
0_0_28662476_16980.cpp:18:16: error: 'rem' was not declared in this scope
         memset(rem, false, sizeof(rem));
                ^
0_0_28662476_16980.cpp:20:23: error: 'N' was not declared in this scope
         for(int j=0;j<N&&f[j]<=i;j++){
                       ^
0_0_28662476_16980.cpp:20:26: error: 'f' was not declared in this scope
         for(int j=0;j<N&&f[j]<=i;j++){
                          ^


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-20 02:00:28, Gzip enabled