
比赛套题
文章平均质量分 80
chaoyueziji123
这个作者很懒,什么都没留下…
展开
-
Codeforces Round #246 (Div. 2) A. Choosing Teams
The Saratov State University Olympiad Programmers Training Center (SSU OPTC) has n students. For each student you know the number of times he/she has participated in the ACM ICPC world programming c原创 2014-05-18 12:42:51 · 1318 阅读 · 0 评论 -
hdu 1597 find the nth digit
find the nth digitTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8363 Accepted Submission(s): 2385Problem Description假设:S1 = 1原创 2014-08-14 09:45:26 · 897 阅读 · 0 评论 -
hdu 1593 find a way to escape
find a way to escapeTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1395 Accepted Submission(s): 510Problem Description一日,话说0068与原创 2014-08-14 11:33:03 · 748 阅读 · 0 评论 -
二分查找 hdu 4004
The Frog's GamesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 3591 Accepted Submission(s): 1737Problem DescriptionThe annual Games in转载 2014-08-15 02:14:50 · 891 阅读 · 0 评论 -
hdu 4737A Bit Fun
A Bit FunTime Limit: 5000/2500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1789 Accepted Submission(s): 902Problem DescriptionThere are n numbers i原创 2014-08-13 20:18:06 · 847 阅读 · 0 评论 -
湘潭大学校赛
题目描述Bob今天碰到一个问题,他想知道x3+y3 = c 是否存在正整数解?输入第一行是一个整数K(K≤20000),表示样例的个数。 以后每行一个整数c(2≤c≤109)输出每行输出一个样例的结果,如果存在,输出“Yes”,否则输出“No”。(引号不用输出)样例输入22827样例输出YesNo转载 2014-06-04 01:41:36 · 1649 阅读 · 1 评论 -
Laptops codeforces
A. Laptopstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Dima and Alex had an argument about the p原创 2014-08-10 10:19:40 · 1417 阅读 · 0 评论 -
湘潭大学校赛A Love Letter
题目描述 CodeMonkey终于下定决心用情书的方式向心爱的女神表白,当他历经几天几夜写完之后才知道女神有很多不喜欢的词,所以他不得不有把这些词删掉。例如:原文是:ILOVEYOU,女神不喜欢的词是‘LV’,‘O’那么最终情书要改成IEYU。现在已知女生不喜欢的词的集合S,CodeMonkey想知道刚写的情书会改成什么样?S={“HATE”,“SHIT”,“LV”,“O”,“FUCK”,“原创 2014-06-03 23:39:16 · 1128 阅读 · 0 评论 -
Codeforces Round #260 (Div. 2)B. Fedya and Maths
Fedya and Mathstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFedya studies in a gymnasium. Fedya's maths原创 2014-08-10 11:04:06 · 969 阅读 · 0 评论 -
Codeforces Round #FF (Div. 2) A. DZY Loves Hash
A. DZY Loves Hashtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY has a hash table with p buckets, numbe原创 2014-07-14 08:20:47 · 1329 阅读 · 0 评论 -
百度之星资格赛1001Energy Conversion
魔法师百小度也有遇到难题的时候—— 现在,百小度正在一个古老的石门面前,石门上有一段古老的魔法文字,读懂这种魔法文字需要耗费大量的能量和大量的脑力。 过了许久,百小度终于读懂魔法文字的含义:石门里面有一个石盘,魔法师需要通过魔法将这个石盘旋转X度,以使上面的刻纹与天相对应,才能打开石门。 但是,旋转石盘需要N点能量值,而为了解读密文,百小度的能量值只剩M点了!破坏石门是不可能的,原创 2014-05-18 12:25:15 · 1302 阅读 · 2 评论 -
ACdream 之ACfun 题解
A - ACfunTime Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)SubmitStatusProblem Description题目链接点击打开链接As a former ACMer, "AC" is a special abbreviated wor原创 2014-07-14 17:44:10 · 1526 阅读 · 0 评论 -
HDU Prime Ring Problem
ACM菜鸟营原创 2014-07-08 11:35:10 · 762 阅读 · 0 评论 -
起床的烦恼
D. 起床的烦恼Time Limit: 2000msCase Time Limit: 2000msMemory Limit: 65536KB64-bit integer IO format: %lld Java class name:MainSubmitStatus PID: 10803 Font Size:+-众所周知,nono是一只喜欢睡懒原创 2014-05-09 00:31:23 · 2105 阅读 · 1 评论 -
湖南省第九届程序设计大赛 搞笑版费马大定理
搞笑版费马大定理Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 194 Solved: 96[Submit][Status][Web Board]Description费马大定理:当n>2时,不定方程an+bn=cn没有正整数解。比如a3+b3=c3没有正整数解。为了活跃气氛,我们不妨来个搞笑版:把方程改成a3+b3=c3原创 2014-07-06 17:18:26 · 963 阅读 · 0 评论 -
codeforces #256 A. Rewards
A. Rewardstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBizon the Champion is called the Champion for a reason. B原创 2014-07-18 08:33:31 · 1247 阅读 · 0 评论 -
Vanya and Cubes
Vanya and Cubestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya got n cubes. He decided to build a pyr原创 2015-02-25 02:46:14 · 718 阅读 · 0 评论