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_31536047_11682.cpp:29:1: error: 'map' does not name a type
 map<int, int> mp[N]; //¿éÄÚ¼ÆÊý
 ^
0_0_31536047_11682.cpp: In function 'void push_down(int)':
0_0_31536047_11682.cpp:42:2: error: 'mp' was not declared in this scope
  mp[i].clear(); mp[i][lazy[i]] = block;
  ^
0_0_31536047_11682.cpp: In function 'void update()':
0_0_31536047_11682.cpp:50:4: error: 'mp' was not declared in this scope
    mp[belong[L]][arr[i]] --;
    ^
0_0_31536047_11682.cpp:57:3: error: 'mp' was not declared in this scope
   mp[belong[L]][arr[i]] --;
   ^
0_0_31536047_11682.cpp:62:3: error: 'mp' was not declared in this scope
   mp[belong[L]][arr[i]] --;
   ^
0_0_31536047_11682.cpp: In function 'int query()':
0_0_31536047_11682.cpp:79:10: error: 'mp' was not declared in this scope
   ans += mp[i][val];
          ^
0_0_31536047_11682.cpp: In function 'int main()':
0_0_31536047_11682.cpp:139:4: error: 'mp' was not declared in this scope
    mp[belong[i]][key] ++;
    ^


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-25 14:32:40, Gzip enabled