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_38813512_22028.cpp: In function 'bool find(int)':
0_0_38813512_22028.cpp:10:29: error: 'amp' was not declared in this scope
   10 |                 if(!book[i]&&e[x][i])
      |                             ^~~
0_0_38813512_22028.cpp:10:37: error: expected ')' before ';' token
   10 |                 if(!book[i]&&e[x][i])
      |                   ~                 ^
      |                                     )
0_0_38813512_22028.cpp:10:45: error: expected ';' before ')' token
   10 |                 if(!book[i]&&e[x][i])
      |                                             ^
      |                                             ;
0_0_38813512_22028.cpp: In function 'int main()':
0_0_38813512_22028.cpp:26:21: error: 'amp' was not declared in this scope
   26 |         scanf("%d",&k);
      |                     ^~~
0_0_38813512_22028.cpp:26:26: error: expected ';' before ')' token
   26 |         scanf("%d",&k);
      |                          ^
      |                          ;
0_0_38813512_22028.cpp:29:44: error: expected ';' before ')' token
   29 |                 scanf("%d %d",&m,&n);//课程、学生数
      |                                            ^
      |                                            ;
0_0_38813512_22028.cpp:34:42: error: expected ';' before ')' token
   34 |                         scanf("%d",&a);//学生
      |                                          ^
      |                                          ;
0_0_38813512_22028.cpp:37:50: error: expected ';' before ')' token
   37 |                                 scanf("%d",&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-11-26 07:04:52, Gzip enabled