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_13722226_27421.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13722226_27421.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13722226_27421.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13722226_27421.cpp: In function 'int main()':
0_0_13722226_27421.cpp:38:15: error: expected primary-expression before '%' token
  while (scanf(%d%d, &n, &m) != EOF) {
               ^
0_0_13722226_27421.cpp:38:16: error: 'd' was not declared in this scope
  while (scanf(%d%d, &n, &m) != EOF) {
                ^
0_0_13722226_27421.cpp:38:27: error: 'scanf' was not declared in this scope
  while (scanf(%d%d, &n, &m) != EOF) {
                           ^
0_0_13722226_27421.cpp:38:32: error: 'EOF' was not declared in this scope
  while (scanf(%d%d, &n, &m) != EOF) {
                                ^
0_0_13722226_27421.cpp:48:1: error: 'printf' was not declared in this scope
 );
 ^
0_0_13722226_27421.cpp:64:10: error: expected primary-expression before '%' token
   printf(%d
          ^
0_0_13722226_27421.cpp:65:6: error: 'printf' was not declared in this scope
 , res);
      ^


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