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_13676591_24162.cpp:20:7: error: 'N' was not declared in this scope
 int a[N][N],dp[N][N][3];//dp[][][0]:左->右   dp[][][1]:上->下   dp[][][2] 下->上
       ^
0_0_13676591_24162.cpp:20:10: error: 'N' was not declared in this scope
 int a[N][N],dp[N][N][3];//dp[][][0]:左->右   dp[][][1]:上->下   dp[][][2] 下->上
          ^
0_0_13676591_24162.cpp:20:16: error: 'N' was not declared in this scope
 int a[N][N],dp[N][N][3];//dp[][][0]:左->右   dp[][][1]:上->下   dp[][][2] 下->上
                ^
0_0_13676591_24162.cpp:20:19: error: 'N' was not declared in this scope
 int a[N][N],dp[N][N][3];//dp[][][0]:左->右   dp[][][1]:上->下   dp[][][2] 下->上
                   ^
0_0_13676591_24162.cpp: In function 'int main()':
0_0_13676591_24162.cpp:35:29: error: 'a' was not declared in this scope
                 scanf("%d",&a[i][j]);
                             ^
0_0_13676591_24162.cpp:36:17: error: 'dp' was not declared in this scope
                 dp[i][j][0] = dp[i][j][1] = dp[i][j][2] = -INF;
                 ^
0_0_13676591_24162.cpp:38:9: error: 'dp' was not declared in this scope
         dp[0][0][0] = dp[0][0][1] = dp[0][0][2] = a[0][0];
         ^
0_0_13676591_24162.cpp:38:51: error: 'a' was not declared in this scope
         dp[0][0][0] = dp[0][0][1] = dp[0][0][2] = a[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-10-06 14:18:04, Gzip enabled