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_15723225_24581.cpp:42:9: error: 'unordered_map' does not name a type
 typedef unordered_map<LL, int> MII;
         ^
0_0_15723225_24581.cpp:43:9: error: 'MII' does not name a type
 typedef MII::iterator MIT;
         ^
0_0_15723225_24581.cpp:45:1: error: 'MII' does not name a type
 MII dp[2];
 ^
0_0_15723225_24581.cpp: In function 'void update(LL, int)':
0_0_15723225_24581.cpp:73:9: error: 'dp' was not declared in this scope
  chkmax(dp[!cur][hv], x);
         ^
0_0_15723225_24581.cpp: In function 'int main()':
0_0_15723225_24581.cpp:147:3: error: 'dp' was not declared in this scope
   dp[cur = 0].clear();
   ^
0_0_15723225_24581.cpp:153:9: error: 'MIT' was not declared in this scope
    for (MIT it = dp[cur].begin(); it != dp[cur].end(); it++) {
         ^
0_0_15723225_24581.cpp:153:35: error: 'it' was not declared in this scope
    for (MIT it = dp[cur].begin(); it != dp[cur].end(); it++) {
                                   ^
0_0_15723225_24581.cpp:158:8: error: 'MIT' was not declared in this scope
   for (MIT it = dp[cur].begin(); it != dp[cur].end(); it++) {
        ^
0_0_15723225_24581.cpp:158:34: error: 'it' was not declared in this scope
   for (MIT it = dp[cur].begin(); it != dp[cur].end(); it++) {
                                  ^


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-30 05:51:42, Gzip enabled