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_16065366_8260.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16065366_8260.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16065366_8260.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16065366_8260.cpp: In function 'int main()':
0_0_16065366_8260.cpp:15:7: error: 'cin' was not declared in this scope
 while(cin>>n>>key)
       ^
0_0_16065366_8260.cpp:18:30: error: 'strcmp' was not declared in this scope
 if( n==0 && !strcmp(key,"END") )
                              ^
0_0_16065366_8260.cpp:20:17: error: 'strlen' was not declared in this scope
 lenth=strlen(key);
                 ^
0_0_16065366_8260.cpp:21:23: error: 'sort' was not declared in this scope
 sort(key,key+lenth,cmp);
                       ^
0_0_16065366_8260.cpp:22:13: error: expected ';' at end of input
 for(int i=0;i
             ^
0_0_16065366_8260.cpp:22:13: error: expected primary-expression at end of input
0_0_16065366_8260.cpp:22:13: error: expected ')' at end of input
0_0_16065366_8260.cpp:22:13: error: expected statement at end of input
0_0_16065366_8260.cpp:22:13: error: expected '}' at end of input
0_0_16065366_8260.cpp:22:13: error: expected '}' at end of input


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-02 12:31:56, Gzip enabled