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_30450398_10303.cpp:13:1: error: 'll' does not name a type
 ll mod,n;
 ^
0_0_30450398_10303.cpp:14:1: error: 'll' does not name a type
 ll val[10]={6,2,5,5,4,5,6,3,7,6};
 ^
0_0_30450398_10303.cpp:15:1: error: 'll' does not name a type
 ll dp[510][2][2][2];
 ^
0_0_30450398_10303.cpp:16:1: error: 'll' does not name a type
 ll DFS(int me , bool f1 , bool f2 , bool c){
 ^
0_0_30450398_10303.cpp: In function 'int main()':
0_0_30450398_10303.cpp:57:16: error: 'dp' was not declared in this scope
         memset(dp,-1,sizeof(dp));
                ^
0_0_30450398_10303.cpp:58:25: error: 'n' was not declared in this scope
         scanf("%d%lld",&n,&mod);
                         ^
0_0_30450398_10303.cpp:58:28: error: 'mod' was not declared in this scope
         scanf("%d%lld",&n,&mod);
                            ^
0_0_30450398_10303.cpp:59:53: error: 'DFS' was not declared in this scope
         printf("Case #%d: %lld\n",++ne,DFS(n-3,0,0,0)%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 05:59:21, Gzip enabled