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_34433635_25448.cpp:9:15: error: 'll' was not declared in this scope
 cc_hash_table<ll, int> m;
               ^
0_0_34433635_25448.cpp:9:22: error: template argument 1 is invalid
 cc_hash_table<ll, int> m;
                      ^
0_0_34433635_25448.cpp:9:22: error: template argument 3 is invalid
0_0_34433635_25448.cpp:9:22: error: template argument 4 is invalid
0_0_34433635_25448.cpp:9:25: error: invalid type in declaration before ';' token
 cc_hash_table<ll, int> m;
                         ^
0_0_34433635_25448.cpp: In function 'int main()':
0_0_34433635_25448.cpp:16:11: error: request for member 'clear' in 'm', which is of non-class type 'int'
         m.clear();
           ^
0_0_34433635_25448.cpp:18:12: error: invalid types 'int[int]' for array subscript
         m[0]=0;
            ^
0_0_34433635_25448.cpp:22:19: error: invalid types 'int[long long int]' for array subscript
             if(m[x])
                   ^
0_0_34433635_25448.cpp:24:41: error: invalid types 'int[long long int]' for array subscript
                 printf("%lld\n",n-(i-m[x]));
                                         ^
0_0_34433635_25448.cpp:27:16: error: invalid types 'int[long long int]' for array subscript
             m[x]=i;
                ^


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 13:30:31, Gzip enabled