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_21436981_27397.cpp: In function 'int main()':
0_0_21436981_27397.cpp:12:5: error: 'dp' was not declared in this scope
     dp[1] = dp[2] = 1;  
     ^
0_0_21436981_27397.cpp:13:5: error: 'sum' was not declared in this scope
     sum[0] = 1;  
     ^
0_0_21436981_27397.cpp:15:5: error: 'll' was not declared in this scope
     ll tmp = 1;  
     ^
0_0_21436981_27397.cpp:20:16: error: expected ';' before 'a'
             ll a = ((tmp*(tmp-1LL+MOD)%MOD*(tmp-2LL+MOD)%MOD)*166666668LL%MOD + tmp*(tmp-1LL+MOD)%MOD + tmp)%MOD;  
                ^
0_0_21436981_27397.cpp:21:35: error: 'tmp' was not declared in this scope
             dp[i] = (sum[i/2-1]*((tmp*(tmp-1LL+MOD)%MOD)*500000004LL%MOD+tmp)%MOD+a)%MOD;  
                                   ^
0_0_21436981_27397.cpp:21:83: error: 'a' was not declared in this scope
             dp[i] = (sum[i/2-1]*((tmp*(tmp-1LL+MOD)%MOD)*500000004LL%MOD+tmp)%MOD+a)%MOD;  
                                                                                   ^
0_0_21436981_27397.cpp:25:16: error: expected ';' before 'a'
             ll a = tmp*sum[i/2-2]%MOD;  
                ^
0_0_21436981_27397.cpp:26:13: error: 'tmp' was not declared in this scope
             tmp = (tmp*(tmp-1LL+MOD)%MOD*500000004LL%MOD+tmp+a)%MOD;  
             ^
0_0_21436981_27397.cpp:26:62: error: 'a' was not declared in this scope
             tmp = (tmp*(tmp-1LL+MOD)%MOD*500000004LL%MOD+tmp+a)%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-23 01:04:38, Gzip enabled