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_17076080_20165.cpp:5:7: error: 'N' was not declared in this scope
 int c[N][N];
       ^
0_0_17076080_20165.cpp:5:10: error: 'N' was not declared in this scope
 int c[N][N];
          ^
0_0_17076080_20165.cpp: In function 'int dp(char*, char*)':
0_0_17076080_20165.cpp:11:3: error: 'c' was not declared in this scope
   c[i][0] = i * cost[2];
   ^
0_0_17076080_20165.cpp:13:3: error: 'c' was not declared in this scope
   c[0][j] = j * cost[3];
   ^
0_0_17076080_20165.cpp:16:4: error: 'c' was not declared in this scope
    c[i + 1][j + 1] = inf;
    ^
0_0_17076080_20165.cpp:46:12: error: 'c' was not declared in this scope
  int ret = c[lx][ly];
            ^


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-23 21:39:11, Gzip enabled