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_21569488_28552.cpp: In function 'int main()':
0_0_21569488_28552.cpp:45:14: error: 'dp' was not declared in this scope
         mems(dp, INF);
              ^
0_0_21569488_28552.cpp:19:27: note: in definition of macro 'mems'
 #define mems(a, b) memset(a, b, sizeof a)
                           ^
0_0_21569488_28552.cpp:51:91: error: 'dis' was not declared in this scope
                         dp[i | (1 << k)][k] = min(dp[i | (1 << k)][k], dp[i][j] + dis(j, k));
                                                                                           ^
0_0_21569488_28552.cpp:58:51: error: 'dis' was not declared in this scope
             ans = min(ans, dp[m - 1][i] + dis(0, i));
                                                   ^


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-15 01:45:12, Gzip enabled