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_30179126_29031.cpp: In function 'int main()':
0_0_30179126_29031.cpp:23:9: error: redeclaration of 'int i2'
     int i2,beg,ans;
         ^
0_0_30179126_29031.cpp:22:15: note: 'int i2' previously declared here
     int i,j,k,i2,q;
               ^
0_0_30179126_29031.cpp:39:37: error: invalid operands of types 'int' and 'll [500005] {aka long long int [500005]}' to binary 'operator*'
                 ans=(ans+(s[i]-'0')*val)%mod; continue;
                                     ^
0_0_30179126_29031.cpp:42:32: error: 't' was not declared in this scope
                 dp[i][j][k]=0; t=((j-k*val[i])%m+m)%m;
                                ^
0_0_30179126_29031.cpp:47:5: error: expected primary-expression before '}' token
     }
     ^


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 04:20:52, Gzip enabled