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_32321369_17292.cpp:2:7: error: 'maxn' was not declared in this scope
 int d[maxn][maxn];
       ^
0_0_32321369_17292.cpp:2:13: error: 'maxn' was not declared in this scope
 int d[maxn][maxn];
             ^
0_0_32321369_17292.cpp:3:11: error: 'maxn' was not declared in this scope
 int dp[1<<maxn][maxn];
           ^
0_0_32321369_17292.cpp:3:17: error: 'maxn' was not declared in this scope
 int dp[1<<maxn][maxn];
                 ^
0_0_32321369_17292.cpp: In function 'int rec(int, int)':
0_0_32321369_17292.cpp:6:8: error: 'dp' was not declared in this scope
     if(dp[S][v] >= 0) {
        ^
0_0_32321369_17292.cpp:9:27: error: 'maxn' was not declared in this scope
     if(v == 0 && S == (1<<maxn)-1) return dp[S][v] = 0;
                           ^
0_0_32321369_17292.cpp:9:43: error: 'dp' was not declared in this scope
     if(v == 0 && S == (1<<maxn)-1) return dp[S][v] = 0;
                                           ^
0_0_32321369_17292.cpp:10:15: error: 'INF' was not declared in this scope
     int ans = INF;
               ^
0_0_32321369_17292.cpp:13:27: error: 'd' was not declared in this scope
             ans = min(ans,d[v][i]+rec(S|(1<<i),i));
                           ^
0_0_32321369_17292.cpp:13:50: error: 'min' was not declared in this scope
             ans = min(ans,d[v][i]+rec(S|(1<<i),i));
                                                  ^
0_0_32321369_17292.cpp:16:12: error: 'dp' was not declared in this scope
     return dp[S][v] = ans;
            ^
0_0_32321369_17292.cpp: In function 'void solve()':
0_0_32321369_17292.cpp:20:12: error: 'dp' was not declared in this scope
     memset(dp,-1,sizoef(dp));
            ^
0_0_32321369_17292.cpp:20:27: error: 'sizoef' was not declared in this scope
     memset(dp,-1,sizoef(dp));
                           ^
0_0_32321369_17292.cpp:20:28: error: 'memset' was not declared in this scope
     memset(dp,-1,sizoef(dp));
                            ^
0_0_32321369_17292.cpp:21:5: error: 'cout' was not declared in this scope
     cout << rec(0,0) << endl;
     ^
0_0_32321369_17292.cpp:21:25: error: 'endl' was not declared in this scope
     cout << rec(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-27 00:43:32, Gzip enabled