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_31096554_17508.cpp: In function 'll computeHash(int, ll, int)':
0_0_31096554_17508.cpp:148:16: error: no match for 'operator[]' (operand types are 'std::pair<long long int, long long int>' and 'll {aka long long int}')
         hh[len][h] = mp(h, st[pos].cnt);
                ^
0_0_31096554_17508.cpp:151:13: error: 'struct state' has no member named 'hh'
     st[pos].hh = h;
             ^
0_0_31096554_17508.cpp:158:33: error: 'struct state' has no member named 'hh'
         ll h = rollHash(st[pos].hh, len);
                                 ^


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 10:12:04, Gzip enabled