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_18969233_5370.cpp:1:12: error: #include expects "FILENAME" or <FILENAME>
 #include   
            ^
0_0_18969233_5370.cpp:2:12: error: #include expects "FILENAME" or <FILENAME>
 #include   
            ^
0_0_18969233_5370.cpp:3:12: error: #include expects "FILENAME" or <FILENAME>
 #include   
            ^
0_0_18969233_5370.cpp:4:12: error: #include expects "FILENAME" or <FILENAME>
 #include   
            ^
0_0_18969233_5370.cpp: In function 'void cal()':
0_0_18969233_5370.cpp:90:21: error: 'printf' was not declared in this scope
     printf("%d", ans);
                     ^
0_0_18969233_5370.cpp:93:26: error: 'printf' was not declared in this scope
    else printf(" %d", ans);
                          ^
0_0_18969233_5370.cpp:97:13: error: 'printf' was not declared in this scope
  printf("\n");
             ^
0_0_18969233_5370.cpp: In function 'int main()':
0_0_18969233_5370.cpp:102:29: error: 'scanf' was not declared in this scope
  while (scanf("%d%d", &n, &m) != EOF && n+m) {
                             ^
0_0_18969233_5370.cpp:102:34: error: 'EOF' was not declared in this scope
  while (scanf("%d%d", &n, &m) != EOF && n+m) {
                                  ^
0_0_18969233_5370.cpp:111:15: error: 'swap' was not declared in this scope
      swap(a, b);
               ^
0_0_18969233_5370.cpp:117:15: error: 'swap' was not declared in this scope
      swap(a, b);
               ^


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-05 06:15:31, Gzip enabled