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_38829423_8743.cpp: In function 'int Find(int, int)':
0_0_38829423_8743.cpp:15:29: error: 'amp' was not declared in this scope
   15 |                 scanf("%d",&card[i]);
      |                             ^~~
0_0_38829423_8743.cpp:15:40: error: expected ';' before ')' token
   15 |                 scanf("%d",&card[i]);
      |                                        ^
      |                                        ;
0_0_38829423_8743.cpp: In function 'int main()':
0_0_38829423_8743.cpp:38:29: error: 'amp' was not declared in this scope
   38 |         while(scanf("%d%d",&m,&n)!=EOF)
      |                             ^~~
0_0_38829423_8743.cpp:38:32: error: expected ')' before ';' token
   38 |         while(scanf("%d%d",&m,&n)!=EOF)
      |              ~                 ^
      |                                )
0_0_38829423_8743.cpp:38:36: error: 'amp' was not declared in this scope
   38 |         while(scanf("%d%d",&m,&n)!=EOF)
      |                                    ^~~
0_0_38829423_8743.cpp:38:41: error: expected ';' before ')' token
   38 |         while(scanf("%d%d",&m,&n)!=EOF)
      |                                         ^
      |                                         ;


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 21:08:41, Gzip enabled