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_13796889_14858.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13796889_14858.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13796889_14858.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13796889_14858.cpp:7:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13796889_14858.cpp:13:1: error: 'vector' does not name a type
 vector vec[maxn];
 ^
0_0_13796889_14858.cpp: In function 'void set()':
0_0_13796889_14858.cpp:25:27: error: 'memset' was not declared in this scope
 memset(isp, 0 ,sizeof(isp)) ;
                           ^
0_0_13796889_14858.cpp:35:1: error: 'vec' was not declared in this scope
 vec[i].push_back(2) ;
 ^
0_0_13796889_14858.cpp:51:1: error: 'vec' was not declared in this scope
 vec[j].push_back(i) ;
 ^
0_0_13796889_14858.cpp: In function 'int main()':
0_0_13796889_14858.cpp:71:29: error: 'scanf' was not declared in this scope
 while(~scanf("%d%d" ,&n , &m))
                             ^
0_0_13796889_14858.cpp:75:29: error: 'memset' was not declared in this scope
 memset(num , 0 , sizeof(num)) ;
                             ^
0_0_13796889_14858.cpp:91:1: error: 'else' without a previous 'if'
 else
 ^
0_0_13796889_14858.cpp:95:15: error: 'puts' was not declared in this scope
 puts("Success");
               ^
0_0_13796889_14858.cpp:99:19: error: 'vec' was not declared in this scope
 for(int j = 0;j < vec[i].size() ;j++)
                   ^
0_0_13796889_14858.cpp:111:28: error: 'puts' was not declared in this scope
 if(num[i])puts("Already on");
                            ^
0_0_13796889_14858.cpp:119:19: error: 'vec' was not declared in this scope
 for(int j = 0;j < vec[i].size();j++)
                   ^
0_0_13796889_14858.cpp:129:37: error: 'printf' was not declared in this scope
 printf("Conflict with %d\n" , vis[t]) ;
                                     ^
0_0_13796889_14858.cpp:143:15: error: 'puts' was not declared in this scope
 puts("Success");
               ^
0_0_13796889_14858.cpp:147:19: error: 'vec' was not declared in this scope
 for(int j = 0;j < vec[i].size();j++)
                   ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 08:29:38, Gzip enabled