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_27974850_4442.cpp:5:9: error: '_int64' does not name a type
 typedef _int64 ll;
         ^
0_0_27974850_4442.cpp:6:1: error: 'll' does not name a type
 ll dp[2][2][10][50];
 ^
0_0_27974850_4442.cpp: In function 'int dfs(int, int, int, int)':
0_0_27974850_4442.cpp:14:6: error: 'll' was not declared in this scope
      ll sum;
      ^
0_0_27974850_4442.cpp:15:8: error: 'dp' was not declared in this scope
     if(dp[f1][f2][num][l]!=-1)
        ^
0_0_27974850_4442.cpp:25:5: error: 'sum' was not declared in this scope
     sum=0;
     ^
0_0_27974850_4442.cpp:38:4: error: 'dp' was not declared in this scope
    dp[f1][f2][num][l]=sum;
    ^
0_0_27974850_4442.cpp: In function 'int main()':
0_0_27974850_4442.cpp:44:5: error: 'll' was not declared in this scope
     ll n,ans;
     ^
0_0_27974850_4442.cpp:53:16: error: 'dp' was not declared in this scope
         memset(dp,-1,sizeof(dp));
                ^
0_0_27974850_4442.cpp:54:9: error: 'ans' was not declared in this scope
         ans=dfs(1,0,0,0);
         ^


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 11:16:12, Gzip enabled