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_39457533_14387.cpp:15:1: error: 'unordered_map' does not name a type
   15 | unordered_map<int,int>mpx;
      | ^~~~~~~~~~~~~
0_0_39457533_14387.cpp:16:1: error: 'unordered_map' does not name a type
   16 | unordered_map<int,int>mpy;
      | ^~~~~~~~~~~~~
0_0_39457533_14387.cpp: In function 'int main()':
0_0_39457533_14387.cpp:56:11: error: 'mpx' was not declared in this scope
   56 |     cnt++;mpx[x]=cnt;
      |           ^~~
0_0_39457533_14387.cpp:60:11: error: 'mpy' was not declared in this scope
   60 |     cnt++;mpy[y]=cnt;
      |           ^~~
0_0_39457533_14387.cpp:63:16: error: 'mpx' was not declared in this scope
   63 |         int x1=mpx[arr[a].x1];int x2=mpx[arr[a].x2];
      |                ^~~
0_0_39457533_14387.cpp:64:16: error: 'mpy' was not declared in this scope
   64 |         int y1=mpy[arr[a].y1];int y2=mpy[arr[a].y2];
      |                ^~~


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-29 10:08:02, Gzip enabled