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_37280349_4137.cpp:10:9: error: template argument 2 is invalid
 map<LL, > Map;
         ^
0_0_37280349_4137.cpp:10:9: error: template argument 4 is invalid
0_0_37280349_4137.cpp:10:14: error: invalid type in declaration before ';' token
 map<LL, > Map;
              ^
0_0_37280349_4137.cpp: In function 'int main()':
0_0_37280349_4137.cpp:41:15: error: invalid types 'int[LL {aka unsigned int}]' for array subscript
         Map[hs] = make_pair(mid + 2, right);
               ^
0_0_37280349_4137.cpp:42:16: error: invalid types 'int[LL {aka unsigned int}]' for array subscript
         Map[hss] = make_pair(left, mid);
                ^
0_0_37280349_4137.cpp:51:17: error: request for member 'count' in 'Map', which is of non-class type 'int'
         if (Map.count(hstr)) {
                 ^
0_0_37280349_4137.cpp:52:29: error: invalid types 'int[LL {aka unsigned int}]' for array subscript
             pii x = Map[hstr];
                             ^


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-23 22:05:25, Gzip enabled