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_38816349_26989.cpp: In function 'int isdege(int, int)':
0_0_38816349_26989.cpp:14:24: error: 'amp' was not declared in this scope
   14 |     if(a[i].x  >a[j].x&&a[i].y > a[j].y)
      |                        ^~~
0_0_38816349_26989.cpp:14:32: error: expected ')' before ';' token
   14 |     if(a[i].x  >a[j].x&&a[i].y > a[j].y)
      |       ~                        ^
      |                                )
0_0_38816349_26989.cpp:14:48: error: expected ';' before ')' token
   14 |     if(a[i].x  >a[j].x&&a[i].y > a[j].y)
      |                                                ^
      |                                                ;
0_0_38816349_26989.cpp:16:5: error: 'else' without a previous 'if'
   16 |     else
      |     ^~~~
0_0_38816349_26989.cpp: In function 'int dp(int)':
0_0_38816349_26989.cpp:25:26: error: 'amp' was not declared in this scope
   25 |         if (m[i][j] > 0 && dp(j) + m[i][j] > d[i])
      |                          ^~~
0_0_38816349_26989.cpp:25:34: error: expected ')' before ';' token
   25 |         if (m[i][j] > 0 && dp(j) + m[i][j] > d[i])
      |            ~                     ^
      |                                  )
0_0_38816349_26989.cpp:25:58: error: expected ';' before ')' token
   25 |         if (m[i][j] > 0 && dp(j) + m[i][j] > d[i])
      |                                                          ^
      |                                                          ;


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.001000(s) query 1, Server time : 2025-02-17 13:45:29, Gzip enabled