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_18386781_28979.cpp:7:1: error: '_int64' does not name a type
 _int64 maze[21][1001];
 ^
0_0_18386781_28979.cpp:8:1: error: '_int64' does not name a type
 _int64 DP[21][1001];
 ^
0_0_18386781_28979.cpp: In function 'void init()':
0_0_18386781_28979.cpp:14:2: error: 'DP' was not declared in this scope
  DP[i][j] = inf;
  ^
0_0_18386781_28979.cpp:15:2: error: 'DP' was not declared in this scope
  DP[1][1] = maze[1][1];
  ^
0_0_18386781_28979.cpp:15:13: error: 'maze' was not declared in this scope
  DP[1][1] = maze[1][1];
             ^
0_0_18386781_28979.cpp: In function 'int main()':
0_0_18386781_28979.cpp:34:15: error: 'maze' was not declared in this scope
   scanf("%d",&maze[i][j]); 
               ^
0_0_18386781_28979.cpp:44:5: error: 'DP' was not declared in this scope
     DP[i][j] = max(DP[i][j],DP[i][j/k]+maze[i][j]);
     ^
0_0_18386781_28979.cpp:44:40: error: 'maze' was not declared in this scope
     DP[i][j] = max(DP[i][j],DP[i][j/k]+maze[i][j]);
                                        ^
0_0_18386781_28979.cpp:46:5: error: 'DP' was not declared in this scope
     DP[i][j] = max(DP[i][j],DP[i-1][j]+maze[i][j]);
     ^
0_0_18386781_28979.cpp:46:40: error: 'maze' was not declared in this scope
     DP[i][j] = max(DP[i][j],DP[i-1][j]+maze[i][j]);
                                        ^
0_0_18386781_28979.cpp:49:19: error: 'DP' was not declared in this scope
   printf("%lld\n",DP[n][m]);
                   ^


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-12-04 22:43:13, Gzip enabled