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_14503281_27611.cpp:39:9: error: conflicting declaration 'LL has [200005]'
 LL has[N] , fac[N] = {1};
         ^
0_0_14503281_27611.cpp:13:10: note: previous declaration as 'const LL has'
 const LL has = 26LL;
          ^
0_0_14503281_27611.cpp: In function 'void bulidtrie(Trie*, int, int, LL)':
0_0_14503281_27611.cpp:58:10: error: invalid types 'const LL {aka const long long int}[int]' for array subscript
     has[u] = h;
          ^
0_0_14503281_27611.cpp: In function 'void bulid(int, int, int, int)':
0_0_14503281_27611.cpp:109:49: error: invalid types 'const LL {aka const long long int}[int]' for array subscript
         L[step].has = has[mapping[ondepth[d][l]]];
                                                 ^
0_0_14503281_27611.cpp: In function 'int main()':
0_0_14503281_27611.cpp:172:56: error: invalid types 'const LL {aka const long long int}[int]' for array subscript
                 else ans[id] = ((ret.second - (LL)has[u] * fac[d]) % MOD + MOD) % MOD;
                                                        ^


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 18:36:07, Gzip enabled