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_36234186_32338.cpp:2:7: error: 'maxn' was not declared in this scope
 int a[maxn];
       ^
0_0_36234186_32338.cpp: In function 'int main()':
0_0_36234186_32338.cpp:5:2: error: 'IOS' was not declared in this scope
  IOS;
  ^
0_0_36234186_32338.cpp:6:8: error: 'cin' was not declared in this scope
  while(cin>>t){
        ^
0_0_36234186_32338.cpp:9:8: error: 'i' was not declared in this scope
    rep(i,0,n-1){
        ^
0_0_36234186_32338.cpp:9:15: error: 'rep' was not declared in this scope
    rep(i,0,n-1){
               ^
0_0_36234186_32338.cpp:20:5: error: 'cout' was not declared in this scope
     cout<<"NO"<<endl;
     ^
0_0_36234186_32338.cpp:20:17: error: 'endl' was not declared in this scope
     cout<<"NO"<<endl;
                 ^
0_0_36234186_32338.cpp:22:5: error: 'cout' was not declared in this scope
     cout<<"YES"<<endl;
     ^
0_0_36234186_32338.cpp:22:18: error: 'endl' was not declared in this scope
     cout<<"YES"<<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-26 04:59:12, Gzip enabled