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_20966205_8258.cpp: In function 'void init()':
0_0_20966205_8258.cpp:3:12: error: 'sg' was not declared in this scope
     memset(sg,0,sizeof(sg));
            ^
0_0_20966205_8258.cpp:3:27: error: 'memset' was not declared in this scope
     memset(sg,0,sizeof(sg));
                           ^
0_0_20966205_8258.cpp:7:25: error: 'maxn' was not declared in this scope
     for(int i = 1 ; i < maxn;i++)
                         ^
0_0_20966205_8258.cpp:9:16: error: 'vis' was not declared in this scope
         memset(vis,0,sizeof(vis));
                ^
0_0_20966205_8258.cpp:27:12: error: 'cout' was not declared in this scope
            cout<<"i:"<<i<<" sg[i]"<<sg[i]<<endl;
            ^
0_0_20966205_8258.cpp:27:44: error: 'endl' was not declared in this scope
            cout<<"i:"<<i<<" sg[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 21:52:18, Gzip enabled