- 博客(3)
- 收藏
- 关注
原创 2014上海全国邀请赛Maze
Maze Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 100000/100000 K (Java/Others) Total Submission(s): 517 Accepted Submission(s): 187 Problem Description This story happened
2015-01-23 00:40:11 626
原创 Codeforces Round #286 (Div. 2)C
C. Mr. Kitayuta, the Treasure Hunter time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The Shuseki Islands are
2015-01-22 01:18:50 533
原创 最大子序和(单调队列优化)
TYVJ1305:输入一个长度为n的整数序列,从中找出一段不超过m的连续子序列,使得子序列的和最大。 例如 1,-3,5,1,-2,3 当m=4时,S=5+1-2+3=7 当m=2或m=3时,S=5+1=6 input 第一行:n,m 第二行:n个数 output 最大的和sum 题目分析:首先我们知道O(n)可以很简单的解决原题(不限制子序列的长度)。但是这
2015-01-16 18:07:15 755
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人