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_32321373_18252.cpp:1:11: error: 'maxn' was not declared in this scope
 int dp[1<<maxn][maxn];
           ^
0_0_32321373_18252.cpp:1:17: error: 'maxn' was not declared in this scope
 int dp[1<<maxn][maxn];
                 ^
0_0_32321373_18252.cpp: In function 'void solve()':
0_0_32321373_18252.cpp:4:29: error: 'n' was not declared in this scope
     for(int i = 0 ; i < (1<<n) ; i ++) {
                             ^
0_0_32321373_18252.cpp:5:14: error: 'dp' was not declared in this scope
         fill(dp[S],dp[S]+n,INF);
              ^
0_0_32321373_18252.cpp:5:17: error: 'S' was not declared in this scope
         fill(dp[S],dp[S]+n,INF);
                 ^
0_0_32321373_18252.cpp:5:28: error: 'INF' was not declared in this scope
         fill(dp[S],dp[S]+n,INF);
                            ^
0_0_32321373_18252.cpp:5:31: error: 'fill' was not declared in this scope
         fill(dp[S],dp[S]+n,INF);
                               ^
0_0_32321373_18252.cpp:7:5: error: 'dp' was not declared in this scope
     dp[(1<<n)-1][0] = 0;
     ^
0_0_32321373_18252.cpp:7:12: error: 'n' was not declared in this scope
     dp[(1<<n)-1][0] = 0;
            ^
0_0_32321373_18252.cpp:12:59: error: 'd' was not declared in this scope
                     dp[S][i] = min(dp[S][i],dp[S|1<<j][j]+d[i][j]);
                                                           ^
0_0_32321373_18252.cpp:12:66: error: 'min' was not declared in this scope
                     dp[S][i] = min(dp[S][i],dp[S|1<<j][j]+d[i][j]);
                                                                  ^
0_0_32321373_18252.cpp:16:5: error: 'cout' was not declared in this scope
     cout << dp[0][0] << endl;
     ^
0_0_32321373_18252.cpp:16:25: error: 'endl' was not declared in this scope
     cout << dp[0][0] << endl;
                         ^


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-13 14:46:03, Gzip enabled