简单题
文章平均质量分 79
zzuspy
本人初学者~~
展开
-
URAL - 1243 - Divorce of the Seven Dwarfs (大数取模)
1243. Divorce of the Seven DwarfsTime limit: 1.0 secondMemory limit: 64 MBAfter the Snow White with her bridegroom had left the house of the seven dwarfs, their peaceful and prosperous l原创 2015-07-22 16:50:46 · 795 阅读 · 0 评论 -
蓝桥杯 - 杨辉三角形 (基础!)
杨辉三角形 时间限制:1.0s 内存限制:256.0MB 问题描述杨辉三角形又称Pascal三角形,它的第i+1行是(a+b)i的展开式的系数。 它的一个重要性质是:三角形中的每个数字等于它两肩上的数字相加。 下面给出了杨辉三角形的前4行: 1 1 1 1原创 2014-12-21 21:30:04 · 1085 阅读 · 0 评论 -
SGU - 127 - Telephone directory (水~)
127. Telephone directorytime limit per test: 0.25 sec. memory limit per test: 4096 KBCIA has decided to create a special telephone directory for its agents. The first 2 pages of the direct原创 2014-12-19 19:06:07 · 861 阅读 · 0 评论 -
POJ - 1488 - TEX Quotes (字符串!)
TEX QuotesTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 9046 Accepted: 4743DescriptionTEX is a typesetting language developed by Donald Knuth. It ta原创 2014-12-19 12:14:42 · 1178 阅读 · 0 评论 -
2014ACM/ICPC 广州赛区E题 (水~)
Song Jiang's rank listTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Description 《Shu原创 2014-12-03 16:51:29 · 1679 阅读 · 0 评论 -
蓝桥杯 - 核桃的数量
核桃的数量 时间限制:1.0s 内存限制:256.0MB 问题描述小张是软件项目经理,他带领3个开发组。工期紧,今天都在加班呢。为鼓舞士气,小张打算给每个组发一袋核桃(据传言能补脑)。他的要求是:1. 各组的核桃数量必须相同2. 各组内必须能平分核桃(当然是不能打碎的)3. 尽量提供满足1,2条件的最小数量(节约闹革命嘛)输入格式原创 2014-12-03 19:29:02 · 899 阅读 · 0 评论 -
ZZUOJ - 1081 - 三进制小数
1081: 三进制小数Time Limit: 2 Sec Memory Limit: 128 MBSubmit: 60 Solved: 22[Submit][Status][Web Board]Description你的任务呢,是将一个有理数转换成三进制小数。“什么是三进制小数呢?”你一定会问,这很明白,就是以三为基(二进制数以2为基,而十进制数则以10为基原创 2014-12-03 16:43:07 · 1986 阅读 · 0 评论 -
蓝桥杯 - 错误票据
错误票据 时间限制:1.0s 内存限制:256.0MB 问题描述某涉密单位下发了某种票据,并要在年终全部收回。每张票据有唯一的ID号。全年所有票据的ID号是连续的,但ID的开始数码是随机选定的。因为工作人员疏忽,在录入ID号的时候发生了一处错误,造成了某个ID断号,另外一个ID重号。你的任务是通过编程,找出断号的ID和重号的ID。假设断号原创 2014-12-02 18:07:33 · 748 阅读 · 0 评论 -
HDU-1061-Rightmost Digit
Rightmost DigitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 33177 Accepted Submission(s): 12701Problem DescriptionGiven a原创 2014-10-29 17:02:53 · 663 阅读 · 0 评论 -
HDU - 2529 - Shot
ShotTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 845 Accepted Submission(s): 502Problem Description“超人”霍华德在NBA扣篮大赛上要求把篮筐升高原创 2015-01-28 22:52:54 · 644 阅读 · 0 评论 -
HDU - 2501 - Tiling_easy version (简单递推关系!!)
Tiling_easy versionTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5516 Accepted Submission(s): 4347Problem Description有一个大小是原创 2014-12-22 23:49:24 · 678 阅读 · 0 评论 -
Codeforces Round #289 (Div. 2, ACM ICPC Rules) -- A. Maximum in Table
A. Maximum in Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn n × n table a is defined as follows:原创 2015-02-06 19:41:34 · 662 阅读 · 0 评论 -
SGU - 403 - Scientific Problem (水)
403. Scientific ProblemTime limit per test: 0.25 second(s)Memory limit: 65536 kilobytesinput: standardoutput: standardOnce upon a time Professor Idioticideasinventor was travelling b原创 2015-03-17 17:12:04 · 956 阅读 · 0 评论 -
UVA - 10420 - List of Conquests (排序 - qsort、STL)
UVA - 10420List of ConquestsTime Limit: 3000MSMemory Limit: Unknown64bit IO Format: %lld & %lluSubmit StatusDescriptionProblem BList of ConquestsInput: standa原创 2015-03-22 13:44:58 · 855 阅读 · 0 评论 -
SGU - 358 - Median of Medians (寻找中位数中的中位数)
358. Median of MediansTime limit per test: 0.25 second(s)Memory limit: 65536 kilobytesinput: standardoutput: standardVasya learned definition of median of three numbers. He says, "Me原创 2015-03-17 14:39:26 · 1745 阅读 · 0 评论 -
UVA - 10474 - Where is the Marble? (基数排序)
UVA - 10474Where is the Marble?Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmit StatusDescriptionRaju and Meena love to play原创 2015-03-20 21:48:35 · 2273 阅读 · 0 评论 -
SGU - 276 - Andrew's Troubles
276. Andrew's Troublestime limit per test: 0.25 sec.memory limit per test: 65536 KBinput: standardoutput: standardFamous Berland ACM-ICPC team Anisovka consists of three progra原创 2015-03-16 22:54:21 · 636 阅读 · 0 评论 -
HDU- 3279 - Nth Largest Value
Nth Largest ValueTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1140 Accepted Submission(s): 892Problem DescriptionFor this原创 2015-02-11 22:10:12 · 725 阅读 · 0 评论 -
Codeforces Round #292 (Div. 2) -- A. Drazil and Date
A. Drazil and Datetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSomeday, Drazil wanted to go on date with原创 2015-02-18 10:11:08 · 1414 阅读 · 0 评论 -
Codeforces Round #291 (Div. 2) -- A. Chewbaсca and Number
A. Chewbaсca and Numbertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLuke Skywalker gave Chewbacca an int原创 2015-02-15 11:45:38 · 1492 阅读 · 0 评论 -
HDU-1029-Ignatius and the Princess IV
Ignatius and the Princess IVTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32767 K (Java/Others)Total Submission(s): 17490 Accepted Submission(s): 7060Problem Description原创 2014-10-29 17:51:01 · 627 阅读 · 0 评论 -
HDU-4772-Zhuge Liang's Password
Zhuge Liang's PasswordTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 927 Accepted Submission(s): 637Problem Description In原创 2014-10-30 20:16:31 · 717 阅读 · 0 评论 -
HDU-4435-charge-station ( 2012 Asia Tianjin Regional Contest )
charge-stationTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1025 Accepted Submission(s): 535Problem DescriptionThere are n原创 2014-11-09 15:48:08 · 1451 阅读 · 0 评论 -
HDU-4461-The Power of Xiangqi
The Power of XiangqiTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1420 Accepted Submission(s): 775Problem DescriptionXi原创 2014-11-11 17:03:32 · 890 阅读 · 0 评论 -
HDU-4464-Browsing History (2012 ACM/ICPC成都现场赛!)
Browsing HistoryTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3065 Accepted Submission(s): 1692Problem DescriptionOne day w原创 2014-11-26 20:42:43 · 909 阅读 · 0 评论 -
HDU-5112-A Curious Matt (2014ACM/ICPC北京赛区现场赛A题!)
题目位置:HDU-5112题意:去找平均速度最大的那一段的速度思路:按时间排下序就OK~AC代码:#include #include #include #include #include using namespace std;struct node { int t, x;}a[10005];bool cmp(node a, node原创 2014-11-30 23:54:33 · 758 阅读 · 0 评论 -
ZZUOJ-1195-OS Job Scheduling(郑州大学第七届ACM大学生程序设计竞赛E题)
郑大第七届ACM程序设计大赛!!原创 2014-10-31 16:41:03 · 3837 阅读 · 1 评论 -
2014上海全国邀请赛 j 题!!
2014上海全国邀请赛!!!!!!原创 2014-11-02 14:30:40 · 838 阅读 · 0 评论 -
河南省第六届大学生程序设计竞赛--异形卵
河南省第六届大学生程序设计竞赛!!原创 2014-11-08 14:02:56 · 936 阅读 · 0 评论 -
河南省第六届大学生程序设计竞赛--外星人的供给站
河南省第六届大学生程序设计竞赛!!原创 2014-11-08 14:28:38 · 1791 阅读 · 0 评论 -
HDU-4438-Hunters
HuntersTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1107 Accepted Submission(s): 850Problem DescriptionAlice and Bob are t原创 2014-11-09 13:36:04 · 9003 阅读 · 0 评论 -
HDU-4041-Eliminate Witches! (11年北京网络赛!!)
11年北京网络赛!!原创 2014-11-05 20:18:09 · 1005 阅读 · 0 评论 -
HDU-4451-Dressing (2012年金华赛区J题)
2012年金华赛区J题原创 2014-11-01 13:55:27 · 1382 阅读 · 0 评论 -
HDU-4450-Draw Something (2012年金华赛区I题)
2012年金华赛区I题原创 2014-11-01 12:29:27 · 1056 阅读 · 0 评论 -
HDU-4847-Wow! Such Doge!
ACM水题!原创 2014-11-03 21:27:41 · 1067 阅读 · 0 评论 -
HDU-4442-Physical Examination (2012年金华赛区现场赛A题)
2012年金华赛区现场赛A题!!原创 2014-11-01 11:50:50 · 1132 阅读 · 0 评论 -
HDU-5086-Revenge of Segment Tree (BestCoder Round #16)
BestCoder Round #16 !!!原创 2014-11-01 22:20:29 · 632 阅读 · 0 评论 -
HDU-4432-Sum of divisors ( 2012 Asia Tianjin Regional Contest )
Sum of divisorsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4318 Accepted Submission(s): 1382Problem Descriptionmmm is lea原创 2014-11-09 14:29:15 · 1053 阅读 · 0 评论 -
HDU-5104-Primes Problem (BestCoder Round #18!!)
Primes ProblemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 817 Accepted Submission(s): 382Problem DescriptionGiven a numbe原创 2014-11-22 23:40:39 · 961 阅读 · 0 评论 -
HDU-4788-Hard Disk Drive
Hard Disk DriveTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1358 Accepted Submission(s): 740Problem Description Yesterday原创 2014-10-29 22:00:55 · 695 阅读 · 0 评论