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_27685773_29775.cpp:17:11: error: 'maxn' was not declared in this scope
 node kiss[maxn];
           ^
0_0_27685773_29775.cpp: In function 'int main()':
0_0_27685773_29775.cpp:21:11: error: 'cin' was not declared in this scope
     while(cin>>n)
           ^
0_0_27685773_29775.cpp:23:13: error: 'i' was not declared in this scope
         REP(i,n)
             ^
0_0_27685773_29775.cpp:23:16: error: 'REP' was not declared in this scope
         REP(i,n)
                ^
0_0_27685773_29775.cpp:30:14: error: 'kiss' was not declared in this scope
         sort(kiss,kiss+n,cmp);
              ^
0_0_27685773_29775.cpp:30:29: error: 'sort' was not declared in this scope
         sort(kiss,kiss+n,cmp);
                             ^
0_0_27685773_29775.cpp:42:9: error: 'cout' was not declared in this scope
         cout<<endl;
         ^
0_0_27685773_29775.cpp:42:15: error: 'endl' was not declared in this scope
         cout<<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-25 14:47:46, Gzip enabled