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_17231363_16343.cpp:10:1: error: expected initializer before 'int'
 int f[1001][1001];
 ^
0_0_17231363_16343.cpp: In function 'int main()':
0_0_17231363_16343.cpp:24:13: error: 'f' was not declared in this scope
             f[i][j]=__gcd(i,j);
             ^
0_0_17231363_16343.cpp:40:38: error: 'f' was not declared in this scope
                 add(dp[i][j],dp[i+1][f[j][a[i+1]]]);
                                      ^
0_0_17231363_16343.cpp:42:9: error: 'LL' was not declared in this scope
         LL ans=0;
         ^
0_0_17231363_16343.cpp:44:13: error: 'ans' was not declared in this scope
             ans+=LL (i)*dp[n][i];
             ^
0_0_17231363_16343.cpp:45:25: error: 'ans' was not declared in this scope
         printf("%lld\n",ans%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 10:30:34, Gzip enabled