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_39570775_142.cpp:3:13: error: 'std::pair<long long int, long long int>' is not a template
    3 | #define pii pair<ll,ll>
      |             ^~~~~~~~~~~
0_0_39570775_142.cpp:7:5: note: in expansion of macro 'pii'
    7 | map<pii<pii,ll>,pii> mp;
      |     ^~~
0_0_39570775_142.cpp: In function 'void init()':
0_0_39570775_142.cpp:26:9: error: 'num' was not declared in this scope; did you mean 'enum'?
   26 |         num.clear();
      |         ^~~
      |         enum
0_0_39570775_142.cpp: In function 'int main()':
0_0_39570775_142.cpp:95:60: error: 'num' was not declared in this scope; did you mean 'enum'?
   95 |                                                         if(num[pii(x,y)]==mp.end()){
      |                                                            ^~~
      |                                                            enum
0_0_39570775_142.cpp:98:76: error: 'num' was not declared in this scope; did you mean 'enum'?
   98 |                                                         if(mp[pii(pii(x,y),num(pii(x,y)))].first<d[y].val){
      |                                                                            ^~~
      |                                                                            enum


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-14 12:26:28, Gzip enabled