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_14191002_21834.cpp:13:1: error: 'unordered_map' does not name a type
 unordered_map<int,int>ma;
 ^
0_0_14191002_21834.cpp: In function 'bool isfind()':
0_0_14191002_21834.cpp:18:12: error: 'ma' was not declared in this scope
         if(ma.count(n - num[i]))
            ^
0_0_14191002_21834.cpp: In function 'int solve()':
0_0_14191002_21834.cpp:25:8: error: 'ma' was not declared in this scope
     if(ma.count(n))return 1;
        ^
0_0_14191002_21834.cpp: In function 'int main()':
0_0_14191002_21834.cpp:36:9: error: 'ma' was not declared in this scope
         ma[num[cnt]] = 1;
         ^


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-16 06:08:50, Gzip enabled