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_11551764_30324.cpp:20: error: conflicting declaration 'std::map<std::string, int, std::less<std::string>, std::allocator<std::pair<const std::string, int> > > mp'
0_0_11551764_30324.cpp:18: error: 'mp' has a previous declaration as `long long unsigned int mp[200222]'
0_0_11551764_30324.cpp:20: error: type mismatch with previous external decl of `std::map<std::string, int, std::less<std::string>, std::allocator<std::pair<const std::string, int> > > mp'
0_0_11551764_30324.cpp:18: error: previous external decl of `long long unsigned int mp[200222]'
0_0_11551764_30324.cpp:20: error: declaration of `std::map<std::string, int, std::less<std::string>, std::allocator<std::pair<const std::string, int> > > mp'
0_0_11551764_30324.cpp:18: error: conflicts with previous declaration `long long unsigned int mp[200222]'
0_0_11551764_30324.cpp: In function `int main()':
0_0_11551764_30324.cpp:28: error: request for member `clear' in `mp', which is of non-class type `long long unsigned int[200222]'
0_0_11551764_30324.cpp:34: error: request for member `find' in `mp', which is of non-class type `long long unsigned int[200222]'
0_0_11551764_30324.cpp:34: error: request for member `end' in `mp', which is of non-class type `long long unsigned int[200222]'
0_0_11551764_30324.cpp:35: error: no match for 'operator[]' in 'mp[tmp]'
0_0_11551764_30324.cpp:36: error: no match for 'operator[]' in 'mp[tmp]'


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-26 03:56:00, Gzip enabled