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_30325575_20289.cpp: In function 'void dfs(int, int, int, int)':
0_0_30325575_20289.cpp:11:8: error: 'cout' was not declared in this scope
        cout<<b[0];
        ^
0_0_30325575_20289.cpp:15:14: error: 'endl' was not declared in this scope
        cout<<endl;
              ^
0_0_30325575_20289.cpp: In function 'int main()':
0_0_30325575_20289.cpp:25:12: error: 'cin' was not declared in this scope
     while((cin>>n>>len)&&len){
            ^
0_0_30325575_20289.cpp:27:25: error: 'sort' was not declared in this scope
         sort(a,a+len,cmp);
                         ^
0_0_30325575_20289.cpp:28:9: error: 'cout' was not declared in this scope
         cout<<"Sums of "<<n<<":"<<endl;
         ^
0_0_30325575_20289.cpp:28:35: error: 'endl' was not declared in this scope
         cout<<"Sums of "<<n<<":"<<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-18 17:26:10, Gzip enabled