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_35330181_29951.cpp:9:1: error: 'unordered_map' does not name a type
 unordered_map<ll, bool> ump;
 ^
0_0_35330181_29951.cpp: In function 'int solve()':
0_0_35330181_29951.cpp:26:9: error: 'ump' was not declared in this scope
      if(ump[sum[i] + k] || ump[sum[i] - k]) _ = true;
         ^
0_0_35330181_29951.cpp:27:6: error: 'ump' was not declared in this scope
      ump[sum[i]] = true;
      ^
0_0_35330181_29951.cpp: In function 'int main()':
0_0_35330181_29951.cpp:51:3: error: 'ump' was not declared in this scope
   ump.clear();
   ^


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-12-01 05:36:07, Gzip enabled