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_37544213_5555.cpp:25:1: error: 'unordered_map' does not name a type
 unordered_map<int,int> ma;
 ^
0_0_37544213_5555.cpp:26:1: error: 'unordered_map' does not name a type
 unordered_map<pii,int> memory;
 ^
0_0_37544213_5555.cpp: In function 'long long int query()':
0_0_37544213_5555.cpp:41:17: error: 'ma' was not declared in this scope
     for(auto& c:ma){
                 ^
0_0_37544213_5555.cpp: In function 'int main()':
0_0_37544213_5555.cpp:57:9: error: 'ma' was not declared in this scope
         ma.clear();
         ^
0_0_37544213_5555.cpp:67:16: error: 'memory' was not declared in this scope
             if(memory[make_pair(que[i].l,que[i].r)]){
                ^
0_0_37544213_5555.cpp:73:13: error: 'memory' was not declared in this scope
             memory[{que[i].l,que[i].r}]=ans[que[i].id]=query();
             ^


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 02:49:04, Gzip enabled