CF
文章平均质量分 81
22号的背影
一只喜欢踢足球的程序猿
展开
-
B. Fox And Two Dots———简单DFS
B. Fox And Two Dots time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Fox Ciel is playing a mobile puzzle game called转载 2015-02-03 19:29:46 · 356 阅读 · 0 评论 -
M - Sereja and Suffixes--dp
M - Sereja and Suffixes Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Description Sereja has an array a, consisting of n integers a1, a2, ..原创 2015-01-22 21:25:32 · 311 阅读 · 0 评论 -
N - Little Girl and Maximum Sum——贪心
Description The little girl loves the problems on array queries very much. One day she came across a rather well-known problem: you've got an array of n elements (the elements of the array are原创 2015-01-24 14:47:32 · 262 阅读 · 0 评论 -
I - DZY Loves Modification--行列单独操作+优先队列
行列单独操作+优先队列 As we know, DZY loves playing games. One day DZY decided to play with a n × m matrix. To be more precise, he decided to modify the matrix with exactly k operations. Each modifica原创 2015-01-22 21:38:44 · 298 阅读 · 0 评论 -
Problem C - Vasya and Basketball——贪心加STL
S - Vasya and Basketball Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Description Vasya follows a basketball game and marks the distances原创 2015-01-19 16:34:21 · 331 阅读 · 0 评论 -
Codeforces Round #299 (Div. 2)B. Tavas and SaDDas
B. Tavas and SaDDas time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Once again Tavas started eating coffee m原创 2015-05-08 20:42:14 · 478 阅读 · 0 评论 -
Codeforces Round #301 (Div. 2)C - Ice Cave-bfs
You play a computer game. Your character stands on some level of a multilevel ice cave. In order to move on forward, you need to descend one level lower and the only way to do this is to fall through原创 2015-05-08 18:08:29 · 545 阅读 · 0 评论 -
219C - Color Stripe-模拟
Description A colored stripe is represented by a horizontal row of n square cells, each cell is pained one of k colors. Your task is to repaint the minimum number of cells so that no two neighbou原创 2015-05-25 20:27:49 · 425 阅读 · 0 评论