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_31782095_16094.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_31782095_16094.cpp: In function 'int main()':
0_0_31782095_16094.cpp:5:20: error: 'scanf' was not declared in this scope
 while(scanf("%d",&a)!=EOF){
                    ^
0_0_31782095_16094.cpp:5:23: error: 'EOF' was not declared in this scope
 while(scanf("%d",&a)!=EOF){
                       ^
0_0_31782095_16094.cpp:7:27: error: 'printf' was not declared in this scope
 printf('Socre is error!/n');
                           ^
0_0_31782095_16094.cpp:10:9: error: switch quantity not an integer
 switch(a)
         ^
0_0_31782095_16094.cpp:12:21: error: 'printf' was not declared in this scope
 case 9: printf('A/n'); break;
                     ^
0_0_31782095_16094.cpp:13:1: error: case label '8' not within a switch statement
 case 8: printf('B/n'); break;
 ^
0_0_31782095_16094.cpp:13:21: error: 'printf' was not declared in this scope
 case 8: printf('B/n'); break;
                     ^
0_0_31782095_16094.cpp:14:1: error: case label '7' not within a switch statement
 case 7: printf('C/n'); break;
 ^
0_0_31782095_16094.cpp:15:1: error: case label '6' not within a switch statement
 case 6: printf('D/n'); break;
 ^
0_0_31782095_16094.cpp:16:1: error: case label not within a switch statement
 default: printf('E/n'); break;}
 ^


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 07:48:56, Gzip enabled