摘要: Gaby Ivanushka Once upon a time there lived a tsar that has a daughter — Beautiful Vasilisa. There were many of the young men that wanted to marry her 阅读全文
posted @ 2016-12-15 22:18 happy_codes 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Background Stacks and Queues are often considered the bread and butter of data structures and find use in architecture, parsing, operating systems, an 阅读全文
posted @ 2016-12-15 22:16 happy_codes 阅读(293) 评论(0) 推荐(0) 编辑
摘要: Robbery Inspector Robstop is very angry. Last night, a bank has been robbed and the robber has not been caught. And this happened already for the thir 阅读全文
posted @ 2016-12-13 21:59 happy_codes 阅读(295) 评论(0) 推荐(0) 编辑
摘要: Pairs of Integers You are to find all pairs of integers such that their sum is equal to the given integer number N and the second number results from 阅读全文
posted @ 2016-12-13 21:48 happy_codes 阅读(332) 评论(0) 推荐(0) 编辑
摘要: Watering Grass n sprinklers are installed in a horizontal strip of grass l meters long and w meters wide. Each sprinkler is installed at the horizonta 阅读全文
posted @ 2016-12-13 21:03 happy_codes 阅读(291) 评论(0) 推荐(0) 编辑
摘要: Discrete Function There is a discrete function. It is specified for integer arguments from 1 to N (2 ≤ N ≤ 100000). Each value of the function is long 阅读全文
posted @ 2016-12-13 20:36 happy_codes 阅读(300) 评论(0) 推荐(0) 编辑
摘要: Conductors Background Everyone making translations from English to Russian knows an English phrase "Naked conductor runs along the bus". It has two ve 阅读全文
posted @ 2016-12-13 20:25 happy_codes 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 最大的位或 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 655 Accepted Submission(s): 293 Problem Des 阅读全文
posted @ 2016-11-26 22:06 happy_codes 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Idiomatic Phrases Game Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3504 Accepted Submission(s 阅读全文
posted @ 2016-11-21 22:05 happy_codes 阅读(392) 评论(0) 推荐(0) 编辑
摘要: Just a Hook Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 29310 Accepted Submission(s): 14492 P 阅读全文
posted @ 2016-11-21 21:53 happy_codes 阅读(311) 评论(0) 推荐(0) 编辑
摘要: Lorenzo Von Matterhorn time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Lorenzo Von Matter 阅读全文
posted @ 2016-11-21 21:49 happy_codes 阅读(205) 评论(0) 推荐(0) 编辑
摘要: C. Amr and Chemistry time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Amr and Chemistry 阅读全文
posted @ 2016-11-21 21:30 happy_codes 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Cow Contest Description N (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participating in a programming contest. As we all know, some cows code b 阅读全文
posted @ 2016-11-21 21:19 happy_codes 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1053: [HAOI2007]反素数ant Time Limit: 10 Sec Memory Limit: 162 MBSubmit: 2872 Solved: 1639[Submit][Status][Discuss] Description 对于任何正整数x,其约数的个数记作g(x)。例如g 阅读全文
posted @ 2016-11-16 11:37 happy_codes 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 二分+最短路 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu POJ 3662 二分+最短路 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld 阅读全文
posted @ 2016-11-16 10:46 happy_codes 阅读(373) 评论(0) 推荐(0) 编辑
摘要: DP Time Limit:10000MS Memory Limit:165888KB 64bit IO Format:%lld & %llu Submit Status Description 硬币购物一共有4种硬币。面值分别为c1,c2,c3,c4。某人去商店买东西,去了tot次。每次带di枚c 阅读全文
posted @ 2016-11-09 19:08 happy_codes 阅读(407) 评论(0) 推荐(0) 编辑
摘要: DP Time Limit:10000MS Memory Limit:165888KB 64bit IO Format:%lld & %llu Submit Status DP Submit Status Description 对于一个给定的S={a1,a2,a3,…,an},若有P={ax1,a 阅读全文
posted @ 2016-11-09 18:47 happy_codes 阅读(308) 评论(0) 推荐(0) 编辑
摘要: DP Time Limit:3000MS Memory Limit:131072KB 64bit IO Format:%lld & %llu Submit Status Practice HYSBZ 3229 DP Submit Status Practice HYSBZ 3229 Descript 阅读全文
posted @ 2016-11-09 18:34 happy_codes 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 数论 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice URAL 1095 Description 给出一个数N,含有数字1,2,3,4.把N的所有位数重新排列一下组 阅读全文
posted @ 2016-11-09 18:29 happy_codes 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 计数 Time Limit:0MS Memory Limit:0KB 64bit IO Format:%lld & %llu Submit Status Practice SCU 2090 计数 Submit Status Practice SCU 2090 Description 给定空间里n个点 阅读全文
posted @ 2016-11-09 18:16 happy_codes 阅读(349) 评论(0) 推荐(0) 编辑