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_31115734_30825.cpp: In function 'int main()':
0_0_31115734_30825.cpp:5:5: error: 'viod' was not declared in this scope
     viod action1(int,int),action2(int,int);
     ^
0_0_31115734_30825.cpp:7:19: error: 'a' was not declared in this scope
     scanf("%d,%d",a,b);
                   ^
0_0_31115734_30825.cpp:7:21: error: 'b' was not declared in this scope
     scanf("%d,%d",a,b);
                     ^
0_0_31115734_30825.cpp:10:21: error: 'action1' was not declared in this scope
  case'1':action1(a,b);break;
                     ^
0_0_31115734_30825.cpp:11:21: error: 'action2' was not declared in this scope
  case'2':action2(a,b);break; 
                     ^
0_0_31115734_30825.cpp: In function 'void action1(int, int)':
0_0_31115734_30825.cpp:17:18: error: 'print' was not declared in this scope
  print("%d\n",a+b);
                  ^
0_0_31115734_30825.cpp: In function 'void action2(int, int)':
0_0_31115734_30825.cpp:21:18: error: 'print' was not declared in this scope
  print("%d\n",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-07-05 10:11:33, Gzip enabled