- 博客(26)
- 资源 (20)
- 收藏
- 关注
原创 C. Kyoya and Colored Balls(Codeforces Round #309 (Div. 2))
C. Kyoya and Colored BallsKyoya Ootori has a bag with n colored balls that are colored with k different colors. The colors are labeled from 1 to k. Balls of the same color are indistinguis
2015-06-26 14:48:54 1388 1
原创 B. Ohana Cleans Up(Codeforces Round #309 (Div. 2))
B. Ohana Cleans Up Ohana Matsumae is trying to clean a room, which is divided up into an n by n grid of squares. Each square is initially either clean or dirty. Ohana can sweep her broom
2015-06-26 14:45:38 1006 1
原创 A. Kyoya and Photobooks(Codeforces Round #309 (Div. 2))
A. Kyoya and Photobooks Kyoya Ootori is selling photobooks of the Ouran High School Host Club. He has 26 photos, labeled "a" to "z", and he has compiled them into a photo booklet with some
2015-06-26 14:38:29 1235 1
原创 E. Vanya and Brackets(Codeforces Round #308 (Div. 2))
E. Vanya and Bracketstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya is doing his maths homework. He
2015-06-20 23:46:41 1322 2
原创 D. Vanya and Triangles(Codeforces Round #308 (Div. 2))
D. Vanya and Trianglestime limit per test4 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputVanya got bored and he painted n dis
2015-06-20 23:42:35 1257 1
原创 C. Vanya and Scales(Codeforces Round #308 (Div. 2))
C. Vanya and Scalestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya has a scales for weighing loads an
2015-06-20 23:38:05 1562 1
原创 B. Vanya and Books(Codeforces Round #308 (Div. 2))
B. Vanya and Bookstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya got an important task — he should e
2015-06-20 23:34:22 1438
原创 A. Vanya and Table(Codeforces Round #308 (Div. 2))
A. Vanya and Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya has a table consisting of 100 rows
2015-06-20 23:29:37 1483
原创 E. Soldier and Traveling(CF546E) Codeforces Round #304 (Div. 2)
E. Soldier and Travelingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn the country there are n cities a
2015-06-18 17:39:31 978
原创 D-Soldier and Number Game(CF546D) Codeforces Round #304 (Div. 2)
D. Soldier and Number GameTwo soldiers are playing a game. At the beginning first of them chooses a positive integer n and gives it to the second soldier. Then the second one tries to make m
2015-06-18 17:27:25 1255
原创 C-Soldier and Cards(CF546C)Codeforces Round #304 (Div. 2)
C. Soldier and Cardstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo bored soldiers are playing card wa
2015-06-18 17:20:09 1189
原创 B - Soldier and Badges (CF546B) Codeforces Round #304 (Div. 2)
B. Soldier and Badgestime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputColonel has n badges. He wants to giv
2015-06-18 17:10:34 1302 1
原创 A. Soldier and Bananas(CF546) Codeforces Round #304 (Div. 2)
A. Soldier and Bananastime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA soldier wants to buy w bananas in t
2015-06-18 16:59:07 905
原创 GukiZ and Binary Operations(矩阵+二进制)
Codeforces Round #307 (Div. 2) ,D. GukiZ and Binary Operations,
2015-06-16 20:22:03 1250
原创 Mike and Feet(CF 547B)
Mike and Feettime limit per test 1 secondmemory limit per test 256 megabytesinput standard inputoutput standard outputMike is the president of country What-The-
2015-06-11 21:58:25 1189
原创 Mike and Frog(CF547A)
A. Mike and Frogtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMike has a frog and a flower. His frog is n
2015-06-11 21:50:54 1073
原创 Teams(uva11609+组合)
I - TeamsTime Limit:1000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVA 11609 题意:有n个人,选多个人参加比赛,其中一个是队长,队长不同其他选手相同也算作不同的方案,。问你一共有多少种方案。思路:自己才纸上稍微推理一下,n
2015-06-11 21:30:18 1052
原创 Minimum Sum LCM(uva10791+和最小的LCM+推理)
L - Minimum Sum LCMTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVA 10791 题意:输入正整数n,找至少两个数,使得他们的LCM为n且要输出最小的和; 思路:既然LCM是n,那么一定是
2015-06-11 21:20:35 1068
原创 Integer Game(UVA11489)3的倍数
K - Integer GameTime Limit:1000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVA 11489 题意:在n中取数字,使剩下的数是3的倍数,不能取则失败。思路:如果能使当前数为3的倍数,数字和必是3的倍数。
2015-06-10 21:06:25 1040
原创 Palindrome Numbers(LA2889)第n个回文数是?
J - Palindrome NumbersTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVALive 2889 WA了一版面,我也是醉了,就因为一个编译环境不同。。。。。。 说多了都是泪。 题
2015-06-10 13:52:01 1237
原创 Add Again(重复元素排序)
Add AgainInput: Standard InputOutput: Standard Output Summation of sequence of integers is always a common problem in Computer Science. Rather than computing blindly, some intelligent techniqu
2015-06-09 22:00:53 940
原创 希尔加密算法(湖南师范大学第六届大学生计算机程序设计竞赛)hnuoj11552
解密Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:65536KBTotal submit users: 2, Accepted users: 0Problem 11552 : No special judgementProblem descrip
2015-06-08 22:44:45 1925
转载 STL中Set的用法(详+转)
set是STL中一种标准关联容器(vector,list,string,deque都是序列容器,而set,multiset,map,multimap是标准关联容器),它底层使用平衡的搜索树——红黑树实现,插入删除操作时仅仅需要指针操作节点即可完成,不涉及到内存移动和拷贝,所以效率比较高。set,顾名思义是“集合”的意思,在set中元素都是唯一的,而且默认情况下会对元素自动进
2015-06-07 09:41:15 705
批量压缩图片(tinifypng.com)
2018-02-28
2004-2013软件设计师历年真题及答案
2015-08-22
原根(扩展欧几里得的应用)
2015-08-12
Java算法之经典题目篇
2015-04-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人