0_0_29122334_10758.cpp:51:7: error: 'LL' does not name a type
const LL INF = 35000;
^
0_0_29122334_10758.cpp: In function 'int main()':
0_0_29122334_10758.cpp:70:30: error: 'INF' was not declared in this scope
dp[k][i-1]=-maxn*INF;
^
0_0_29122334_10758.cpp:80:30: error: 'INF' was not declared in this scope
ll ans = -(ll)maxn * INF; //WA点之一,注意初始化ans根据题意。如可以不必须选m段,要求ans>=0(此题要求正数同理), 则初始化为0;如果必须选够m段,则初始化为数据个数*数据最小值。
^
|