0_0_38403751_13434.cpp:6:16: error: size of array 'weight' has non-integral type 'double'
int weight[MAXN];
^
0_0_38403751_13434.cpp:7:15: error: size of array 'value' has non-integral type 'double'
int value[MAXN];
^
0_0_38403751_13434.cpp:8:18: error: size of array 'dp' has non-integral type 'double'
int dp[MAXN][MAXN];
^
0_0_38403751_13434.cpp:8:18: error: size of array 'dp' has non-integral type 'double'
|