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_32867652_10378.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_32867652_10378.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_32867652_10378.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_32867652_10378.cpp: In function 'int main()':
0_0_32867652_10378.cpp:9:25: error: 'scanf' was not declared in this scope
     while(~scanf("%d",&n))
                         ^
0_0_32867652_10378.cpp:12:29: error: 'memset' was not declared in this scope
         memset(a,0,sizeof(a));
                             ^
0_0_32867652_10378.cpp:13:17: error: 'in' was not declared in this scope
         for(i=0;in-max) printf("%d\n",j);
                 ^
0_0_32867652_10378.cpp:13:23: error: expected ';' before ')' token
         for(i=0;in-max) printf("%d\n",j);
                       ^
0_0_32867652_10378.cpp:13:40: error: 'printf' was not declared in this scope
         for(i=0;in-max) printf("%d\n",j);
                                        ^
0_0_32867652_10378.cpp:14:9: error: 'else' without a previous 'if'
         else printf("-1\n");
         ^
0_0_32867652_10378.cpp:14:27: error: 'printf' was not declared in this scope
         else printf("-1\n");
                           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-27 19:12:52, Gzip enabled