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_13813695_24733.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13813695_24733.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13813695_24733.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13813695_24733.cpp:2:1: error: expected unqualified-id before '<' token
 <stdio.h>
 ^
0_0_13813695_24733.cpp: In function 'int main()':
0_0_13813695_24733.cpp:27:20: error: 'scanf' was not declared in this scope
 while(scanf("%d",&n)!=EOF)
                    ^
0_0_13813695_24733.cpp:27:23: error: 'EOF' was not declared in this scope
 while(scanf("%d",&n)!=EOF)
                       ^
0_0_13813695_24733.cpp:31:8: error: 'a' was not declared in this scope
 memset(a,0,sizeof(a));
        ^
0_0_13813695_24733.cpp:31:21: error: 'memset' was not declared in this scope
 memset(a,0,sizeof(a));
                     ^
0_0_13813695_24733.cpp:33:8: error: 'b' was not declared in this scope
 memset(b,0,sizeof(b));
        ^
0_0_13813695_24733.cpp:35:8: error: 'sum' was not declared in this scope
 memset(sum,0,sizeof(sum));
        ^
0_0_13813695_24733.cpp:127:18: error: 'printf' was not declared in this scope
 printf("%d\n",ans);
                  ^


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-23 04:02:54, Gzip enabled