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_13469508_6599.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13469508_6599.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13469508_6599.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13469508_6599.cpp:7:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13469508_6599.cpp:2:1: error: expected unqualified-id before '<' token
 <iostream>
 ^
0_0_13469508_6599.cpp: In function 'int main()':
0_0_13469508_6599.cpp:17:22: error: 'scanf' was not declared in this scope
 while (scanf("%d", &n) != EOF
                      ^
0_0_13469508_6599.cpp:17:27: error: 'EOF' was not declared in this scope
 while (scanf("%d", &n) != EOF
                           ^
0_0_13469508_6599.cpp:22:24: error: 'printf' was not declared in this scope
 if (n == 1)printf("0\n");
                        ^
0_0_13469508_6599.cpp:25:29: error: 'printf' was not declared in this scope
 else if (n == 2)printf("5\n");
                             ^
0_0_13469508_6599.cpp:27:30: error: 'printf' was not declared in this scope
 else if (n == 3)printf("15\n");
                              ^
0_0_13469508_6599.cpp:31:31: error: 'printf' was not declared in this scope
 printf("%d\n", (n + n - 4) * 5);
                               ^


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-12-02 10:09:23, Gzip enabled