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_20124857_15128.cpp: In function 'void bfs()':
0_0_20124857_15128.cpp:43:33: error: 'cout' was not declared in this scope
                                 cout << temp.s << endl;  // step里的每一个“动作”都要判断是否符合条件,因为这动作是平行的 所以放在内循环里面!  
                                 ^
0_0_20124857_15128.cpp:43:51: error: 'endl' was not declared in this scope
                                 cout << temp.s << endl;  // step里的每一个“动作”都要判断是否符合条件,因为这动作是平行的 所以放在内循环里面!  
                                                   ^
0_0_20124857_15128.cpp:54:7: error: 'cout' was not declared in this scope
       cout <<"NO"<<endl;  //如果整个循环结束还是没有找到说明不可以平分;  
       ^
0_0_20124857_15128.cpp:54:20: error: 'endl' was not declared in this scope
       cout <<"NO"<<endl;  //如果整个循环结束还是没有找到说明不可以平分;  
                    ^
0_0_20124857_15128.cpp: In function 'int main()':
0_0_20124857_15128.cpp:58:11: error: 'cin' was not declared in this scope
     while(cin >> b[0]>>b[1]>>b[2],b[0]+b[1]+b[2])   //如果相加都等于0 即000 用于结束  
           ^
0_0_20124857_15128.cpp:62:21: error: 'cout' was not declared in this scope
         if(b[0]%2)  cout << "NO"<<endl;  
                     ^
0_0_20124857_15128.cpp:62:35: error: 'endl' was not declared in this scope
         if(b[0]%2)  cout << "NO"<<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-11-17 00:19:02, Gzip enabled