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_38823580_16764.cpp: In function 'int main()':
0_0_38823580_16764.cpp:22:17: error: 'amp' was not declared in this scope; did you mean 'cmp'?
   22 |     scanf("%d",&t);
      |                 ^~~
      |                 cmp
0_0_38823580_16764.cpp:22:22: error: expected ';' before ')' token
   22 |     scanf("%d",&t);
      |                      ^
      |                      ;
0_0_38823580_16764.cpp:26:26: error: expected ';' before ')' token
   26 |         scanf("%d",&n);
      |                          ^
      |                          ;
0_0_38823580_16764.cpp:28:31: error: 'i' was not declared in this scope
   28 |             scanf("%d",&k[i].x);
      |                               ^
0_0_38823580_16764.cpp:40:44: error: expected ')' before ';' token
   40 |                     if(k[j].y<minn&&book[j]==0)
      |                       ~                    ^
      |                                            )
0_0_38823580_16764.cpp:40:55: error: expected ';' before ')' token
   40 |                     if(k[j].y<minn&&book[j]==0)
      |                                                       ^
      |                                                       ;


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 09:10:48, Gzip enabled