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_23382156_7693.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>
         ^
0_0_23382156_7693.cpp:2:6: error: expected nested-name-specifier before '&' token
 using namespace std;
      ^
0_0_23382156_7693.cpp:2:21: error: expected identifier before '&' token
 using namespace std;
                     ^
0_0_23382156_7693.cpp:2:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;
                          ^
0_0_23382156_7693.cpp:2:27: error: 'std' does not name a type
 using namespace std;
                           ^
0_0_23382156_7693.cpp:3:5: error: 'nbsp' declared as reference but not initialized
 int main()
     ^
0_0_23382156_7693.cpp: In function 'int main()':
0_0_23382156_7693.cpp:5:29: error: 'nbsp' declared as reference but not initialized
     int T,N,num,start,end;
                             ^
0_0_23382156_7693.cpp:5:34: error: 'T' was not declared in this scope
     int T,N,num,start,end;
                                  ^
0_0_23382156_7693.cpp:5:36: error: 'N' was not declared in this scope
     int T,N,num,start,end;
                                    ^
0_0_23382156_7693.cpp:5:38: error: 'num' was not declared in this scope
     int T,N,num,start,end;
                                      ^
0_0_23382156_7693.cpp:5:42: error: 'start' was not declared in this scope
     int T,N,num,start,end;
                                          ^
0_0_23382156_7693.cpp:5:48: error: 'end' was not declared in this scope
     int T,N,num,start,end;
                                                ^
0_0_23382156_7693.cpp:6:25: error: 'cin' was not declared in this scope
     cin>>T;
                         ^
0_0_23382156_7693.cpp:7:33: error: 'nbsp' declared as reference but not initialized
     for(int k=0;k<T;k++)
                                 ^
0_0_23382156_7693.cpp:7:38: error: 'k' was not declared in this scope
     for(int k=0;k<T;k++)
                                      ^
0_0_23382156_7693.cpp:7:45: error: expected ')' before ';' token
     for(int k=0;k<T;k++)
                                             ^
0_0_23382156_7693.cpp:7:46: error: 'k' was not declared in this scope
     for(int k=0;k<T;k++)
                                              ^
0_0_23382156_7693.cpp:10:77: error: 'nbsp' declared as reference but not initialized
             int max=-1001,sum=0,temp=1;
                                                                             ^
0_0_23382156_7693.cpp:10:82: error: 'max' was not declared in this scope
             int max=-1001,sum=0,temp=1;
                                                                                  ^
0_0_23382156_7693.cpp:10:92: error: 'sum' was not declared in this scope
             int max=-1001,sum=0,temp=1;
                                                                                            ^
0_0_23382156_7693.cpp:10:98: error: 'temp' was not declared in this scope
             int max=-1001,sum=0,temp=1;
                                                                                                  ^
0_0_23382156_7693.cpp:11:81: error: 'nbsp' declared as reference but not initialized
             for(int i=0;i<N;i++)
                                                                                 ^
0_0_23382156_7693.cpp:11:86: error: 'i' was not declared in this scope
             for(int i=0;i<N;i++)
                                                                                      ^
0_0_23382156_7693.cpp:11:93: error: expected ')' before ';' token
             for(int i=0;i<N;i++)
                                                                                             ^
0_0_23382156_7693.cpp:11:94: error: 'i' was not declared in this scope
             for(int i=0;i<N;i++)
                                                                                              ^
0_0_23382156_7693.cpp:27:73: error: 'cout' was not declared in this scope
             cout<<"Case "<<k+1<<":"<<endl<<max<<" "<<start<<" "<<end<<endl;
                                                                         ^
0_0_23382156_7693.cpp:27:103: error: 'endl' was not declared in this scope
             cout<<"Case "<<k+1<<":"<<endl<<max<<" "<<start<<" "<<end<<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 10:24:27, Gzip enabled