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_22135357_24870.cpp: In function 'int main()':
0_0_22135357_24870.cpp:5:24: error: 'scanf' was not declared in this scope
     int T;scanf("%d",&T);
                        ^
0_0_22135357_24870.cpp:8:9: error: 'vector' was not declared in this scope
         vector<int> t[505];
         ^
0_0_22135357_24870.cpp:8:16: error: expected primary-expression before 'int'
         vector<int> t[505];
                ^
0_0_22135357_24870.cpp:10:33: error: 'memset' was not declared in this scope
         memset(vis,0,sizeof(vis));
                                 ^
0_0_22135357_24870.cpp:15:13: error: 't' was not declared in this scope
             t[a].push_back(i+1);///½¨Ê÷
             ^
0_0_22135357_24870.cpp:20:27: error: 't' was not declared in this scope
             for(int j=0;j<t[i].size();j++)
                           ^
0_0_22135357_24870.cpp:31:27: error: 'printf' was not declared in this scope
             printf("Bob\n");
                           ^
0_0_22135357_24870.cpp:33:29: error: 'printf' was not declared in this scope
             printf("Alice\n");
                             ^


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-26 06:54:22, Gzip enabled