- 博客(15)
- 收藏
- 关注
原创 POJ-3274 Gold Balanced Lineup
Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 13958 Accepted: 4038DescriptionFarmer John's N cows (1 ≤ N ≤ 100,000) share many similarities. In fact, FJ has been
2016-03-31 22:47:23 306
原创 POJ-3276 Face The Right Way
Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 3740 Accepted: 1724DescriptionFarmer John has arranged his N (1 ≤ N ≤ 5,000) cows in a row and many of them are fa
2016-03-31 17:39:36 727
原创 Gym 100917 F - Find the Length
time limit per test4 seconds (5 seconds for Java)memory limit per test256 megabytesinputstandard inputoutputstandard outputFor each vertice of given undirected weighted graph c
2016-03-29 13:48:18 654
原创 VK Cup 2016 - Round 1 B. Bear and Forgotten Tree 3
time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA tree is a connected undirected graph consisting of n vertices andn -
2016-03-29 13:32:15 711
原创 Gym 100917 J. Judgement
time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe jury of Berland regional olympiad in informatics does not trust to con
2016-03-29 13:20:24 719
原创 Gym 100917 A. Abstract Picture
Famous abstract painter Va Sya plans to start new painting. It will be composed as square with gridn × n, where each unit square is painted by some color.Va Sya already defined the colors for some unit squares. Color of other squares does not matter for h
2016-03-27 15:24:47 688
原创 Educational Codeforces Round 3 C. Load Balancing
time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn the school computer room there are n servers which are responsible for
2016-03-26 09:37:06 446
原创 Codeforces Round #344 (Div. 2) C. Report
time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputEach month Blake gets the report containing main economic indicators of
2016-03-25 15:03:01 300
原创 hud4328 - Cut the cake(垂线法)
Cut the cakeTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1175 Accepted Submission(s): 441Problem DescriptionMark bought a huge
2016-03-24 17:20:27 574
原创 Codeforces Round #345 (Div. 1) E - Clockwork Bomb
time limit per test 6 seconds memory limit per test 256 megabytes input standard input output standard outputMy name is James diGriz, I’m the most clever robber and treasure hunter in the whole
2016-03-23 00:24:20 556
原创 Codeforces Round #337 (Div. 2) D. Vika and Segments
time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVika has an infinite sheet of squared paper. Initially all squares are w
2016-03-22 17:12:08 412
原创 FZU - 2194 星系碰撞
Problem 2194 星系碰撞Accept: 29 Submit: 102Time Limit: 30000 mSec Memory Limit : 327680 KB Problem Description据预测,大约在100亿年后,狮子座星系将与银河系发生碰撞,两个星系的碰撞将会合并两个星系,但是没有2个星球会相撞。现在某科学家得到两个星系合并后的结
2016-03-12 13:51:50 455
原创 Codeforces Round #345 (Div. 1) D. Zip-line
Vasya has decided to build a zip-line on trees of a nearby forest. He wants the line to be as long as possible but he doesn't remember exactly the heights of all trees in the forest. He is sure that h
2016-03-10 15:32:36 800
原创 Codeforces Round #345 (Div. 1) C. Table Compression
Little Petya is now fond of data compression algorithms. He has already studiedgz, bz,zip algorithms and many others. Inspired by the new knowledge, Petya is now developing the new compression alg
2016-03-10 08:09:08 676
原创 UVA 10795
#include #include #include #include using namespace std;int num,n,i,now[61],f[61];long long Find(int MAX,int target){ if(MAX == 1) return 0; int i=MAX-1; for(;(i > 0) && (now[i] ==
2016-03-03 17:43:49 537
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人