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_17664982_3484.cpp:11:17: error: 'LL' was not declared in this scope
 unordered_map < LL , int > mp ;
                 ^
0_0_17664982_3484.cpp:11:26: error: template argument 1 is invalid
 unordered_map < LL , int > mp ;
                          ^
0_0_17664982_3484.cpp:11:26: error: template argument 3 is invalid
0_0_17664982_3484.cpp:11:26: error: template argument 4 is invalid
0_0_17664982_3484.cpp:11:26: error: template argument 5 is invalid
0_0_17664982_3484.cpp:11:31: error: invalid type in declaration before ';' token
 unordered_map < LL , int > mp ;
                               ^
0_0_17664982_3484.cpp: In function 'int calc(int, int)':
0_0_17664982_3484.cpp:41:2: error: 'LL' was not declared in this scope
  LL t = 100000000LL * n + m ;
  ^
0_0_17664982_3484.cpp:42:10: error: request for member 'count' in 'mp', which is of non-class type 'int'
  if ( mp.count ( t ) ) return mp[t] ;
          ^
0_0_17664982_3484.cpp:42:18: error: 't' was not declared in this scope
  if ( mp.count ( t ) ) return mp[t] ;
                  ^
0_0_17664982_3484.cpp:43:16: error: 't' was not declared in this scope
  int& ans = mp[t] ;
                ^


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-29 15:10:32, Gzip enabled