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_38588163_20456.cpp:7:7: error: 'll' does not name a type
 const ll mod=2009;
       ^~
0_0_38588163_20456.cpp:12:5: error: 'll' does not name a type
     ll dp[N],cur;
     ^~
0_0_38588163_20456.cpp: In function 'void init()':
0_0_38588163_20456.cpp:16:5: error: 'dp' was not declared in this scope
     dp[1]=1;
     ^~
0_0_38588163_20456.cpp:19:13: error: 'mod' was not declared in this scope
         k=i%mod;
             ^~~
0_0_38588163_20456.cpp:22:13: error: 'cur' was not declared in this scope
             cur=i-2; //???
             ^~~
0_0_38588163_20456.cpp:22:13: note: suggested alternative: 'char'
             cur=i-2; //???
             ^~~
             char
0_0_38588163_20456.cpp: In function 'int main()':
0_0_38588163_20456.cpp:30:5: error: 'IOS' was not declared in this scope
     IOS;
     ^~~
0_0_38588163_20456.cpp:33:15: error: 'dp' was not declared in this scope
         cout<<dp[n%cur]<<endl;
               ^~
0_0_38588163_20456.cpp:33:20: error: 'cur' was not declared in this scope
         cout<<dp[n%cur]<<endl;
                    ^~~
0_0_38588163_20456.cpp:33:20: note: suggested alternative: 'char'
         cout<<dp[n%cur]<<endl;
                    ^~~
                    char


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-26 14:19:14, Gzip enabled