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_15573175_28949.cpp: In function 'int main()':
0_0_15573175_28949.cpp:23:3: error: 'hash_map' was not declared in this scope
   hash_map<string,int>solve;
   ^
0_0_15573175_28949.cpp:23:3: note: suggested alternative:
In file included from 0_0_15573175_28949.cpp:15:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/backward/hash_map:83:11: note:   '__gnu_cxx::hash_map'
     class hash_map
           ^
0_0_15573175_28949.cpp:23:18: error: expected primary-expression before ',' token
   hash_map<string,int>solve;
                  ^
0_0_15573175_28949.cpp:23:19: error: expected primary-expression before 'int'
   hash_map<string,int>solve;
                   ^
0_0_15573175_28949.cpp:27:19: error: expected primary-expression before ',' token
    hash_map<string,int>::iterator iter;
                   ^
0_0_15573175_28949.cpp:27:20: error: expected primary-expression before 'int'
    hash_map<string,int>::iterator iter;
                    ^
0_0_15573175_28949.cpp:28:4: error: 'iter' was not declared in this scope
    iter=solve.find(str);
    ^
0_0_15573175_28949.cpp:28:9: error: 'solve' was not declared in this scope
    iter=solve.find(str);
         ^


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