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_39072500_22278.cpp: In function 'int main()':
0_0_39072500_22278.cpp:14:9: error: 'map' was not declared in this scope
   14 |         map<ll, ll>mp;
      |         ^~~
0_0_39072500_22278.cpp:7:1: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?
    6 | #include<unordered_map>
  +++ |+#include <map>
    7 | using namespace std;
0_0_39072500_22278.cpp:14:15: error: expected primary-expression before ',' token
   14 |         map<ll, ll>mp;
      |               ^
0_0_39072500_22278.cpp:14:19: error: expected primary-expression before '>' token
   14 |         map<ll, ll>mp;
      |                   ^
0_0_39072500_22278.cpp:14:20: error: 'mp' was not declared in this scope
   14 |         map<ll, ll>mp;
      |                    ^~


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 01:30:06, Gzip enabled