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_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段,则初始化为数据个数*数据最小值。
                              ^


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-29 16:10:01, Gzip enabled