- 博客(4)
- 问答 (3)
- 收藏
- 关注
原创 xtu 1268 Strange Optimization 湘潭邀请赛I
Strange Optimization Bobo is facing a strange optimization problem. Given n,m, he is going to find a real number α such that f(12+α) is maximized, where f(t)=mini,j∈Z|in−jm+t|. Help him! Not
2017-05-16 11:08:29 1090
原创 xtu 1267 Highway 湘潭邀请赛H
Highway In ICPCCamp there were n towns conveniently numbered with 1,2,…,n connected with (n−1) roads. The i-th road connecting towns ai and bi has length ci. It is guaranteed that any two
2017-05-16 11:06:16 1156
原创 xtu 1266 Parentheses 2017湘潭邀请赛G
Parentheses Bobo has a very long sequence divided into n consecutive groups. The i-th group consists of li copies of character ci where ci is either "(" or ")". As the sequence may not be va
2017-05-16 11:04:05 757
原创 xtu 1264 Partial Sum 2017湘潭邀请赛E
Partial Sum Bobo has a integer sequence a1,a2,…,an of length n. Each time, he selects two ends 0≤lr≤n and add |∑rj=l+1aj|−C into a counter which is zero initially. He repeats the selection fo
2017-05-16 11:01:10 867
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人