基础题
文章平均质量分 71
小破孩儿9561
code
展开
-
hdojDNA sorting 【简单 排序】
欢迎参加——BestCoder周年纪念赛(高质量题目+多重奖励)DNA SortingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2203 Accepted Submission(s): 1075原创 2015-07-27 11:24:01 · 396 阅读 · 0 评论 -
hdoj 1108 最小公倍数 【gcd果题】
最小公倍数Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 42755 Accepted Submission(s): 23817Problem Description给定两个正整数,计算这两个数的最小公倍数。原创 2015-11-01 21:55:41 · 439 阅读 · 0 评论 -
hdoj 1030 Delta-wave 【基础】
Delta-wave Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6976 Accepted Submission(s): 2694Problem DescriptionA triangle fie原创 2015-11-23 20:39:06 · 459 阅读 · 0 评论 -
hdoj 1053 Entropy【基础】
EntropyTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5132 Accepted Submission(s): 2135Problem DescriptionAn entropy encoder原创 2015-11-23 20:41:04 · 256 阅读 · 0 评论 -
nyoj 8 一种排序【简单】
一种排序时间限制:3000 ms | 内存限制:65535 KB难度:3描述 现在有很多长方形,每一个长方形都有一个编号,这个编号可以重复;还知道这个长方形的宽和长,编号、长、宽都是整数;现在要求按照一下方式排序(默认排序规则都是从小到大);1.按照编号从小到大排序2.对于编号相等的长方形,按照长方形的长排序;3.如果编号和长都相同,按照长方原创 2015-11-18 21:11:49 · 245 阅读 · 0 评论 -
hdoj 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): 22670 Accepted Submission(s): 9474Problem Descripti原创 2015-11-17 21:43:17 · 283 阅读 · 0 评论 -
hdoj 2023 求平均成绩【基础题】
求平均成绩Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 83828 Accepted Submission(s): 19928Problem Description假设一个班有n(n Inpu原创 2015-11-02 22:22:46 · 506 阅读 · 0 评论 -
hdoj 2054 A == B ?【大数判断题】
A == B ?Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 78666 Accepted Submission(s): 12481Problem DescriptionGive you two number原创 2015-11-02 22:19:38 · 456 阅读 · 0 评论 -
hdoj 2028 Lowest Common Multiple Plus【GCD】
Lowest Common Multiple PlusTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 42661 Accepted Submission(s): 17618Problem Description原创 2015-11-02 22:25:31 · 298 阅读 · 0 评论 -
hdoj 1048 The Hardest Problem Ever【基础】
The Hardest Problem EverTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 21019 Accepted Submission(s): 9882P原创 2015-11-27 19:39:52 · 242 阅读 · 0 评论 -
hdoj 5500 Reorder the Books 【基础】
Reorder the BooksTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 959 Accepted Submission(s): 535Problem Descriptiondxy has a co原创 2015-12-04 18:14:25 · 249 阅读 · 0 评论 -
hdoj 2206 IP的计算 【基础】
IP的计算Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10614 Accepted Submission(s): 2254Problem Description在网络课程上,我学到了很多有关IP的知原创 2016-01-13 22:18:34 · 274 阅读 · 0 评论 -
hdoj 1027 Ignatius and the Princess II 【基础】
Ignatius and the Princess IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5999 Accepted Submission(s): 3534Problem Descriptio原创 2015-11-23 11:02:34 · 218 阅读 · 0 评论 -
haoj Climbing Worm 【水题】
Climbing WormTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14959 Accepted Submission(s): 10137Problem DescriptionAn inch worm i原创 2015-11-01 16:02:01 · 344 阅读 · 0 评论 -
nyoj 95 众数问题 【基础】
众数问题时间限制:3000 ms | 内存限制:65535 KB难度:3描述 所谓众数,就是对于给定的含有N个元素的多重集合,每个元素在S中出现次数最多的成为该元素的重数,多重集合S重的重数最大的元素成为众数。例如:S={1,2,2,2,3,5},则多重集S的众数是2,其重数为3。现在你的任务是:对于给定的由m个自然数组成的多重集S,计算出S的众数及其重数。输入原创 2015-12-08 21:05:54 · 354 阅读 · 0 评论 -
hdoj 1082 excel 排序(结构体+sort排序)
Problem DescriptionExcel可以对一组纪录按任意指定列排序。现请你编写程序实现类似功能。Input测试输入包含若干测试用例。每个测试用例的第1行包含两个整数 N (<=100000) 和 C,其中 N 是纪录的条数,C 是指定排序的列号。以下有 N行,每行包含一条学生纪录。每条学生纪录由学号(6位数字,同组测试中没有重复的学号)、姓名(不超过8位且不原创 2015-07-23 00:23:01 · 501 阅读 · 0 评论 -
杭电oj1001题 a+b
Calculate A + B. InputEach line will contain two integers A and B. Process to end of file. OutputFor each case, output A + B in one line. Sample Input1 1 Samp原创 2015-07-20 10:42:09 · 1165 阅读 · 0 评论 -
南阳oj 组合数【搜索 字典序】
组合数时间限制:3000 ms | 内存限制:65535 KB难度:3描述 找出从自然数1、2、... 、n(0<n<10)中任取r(0<r<=n)个数的所有组合。输入输入n、r。输出按特定顺序输出所有组合。特定顺序:每一个组合中的值从大到小排列,组合之间按逆字典序排列。样例输入5 3样例输出54354254153253152原创 2015-07-23 20:15:39 · 562 阅读 · 0 评论 -
杭电oj problem1071 the area
Problem DescriptionIgnatius bought a land last week, but he didn't know the area of the land because the land is enclosed by a parabola and a straight line. The picture below shows the area. Now giv原创 2015-07-20 14:56:13 · 650 阅读 · 0 评论 -
hdoj 1005 Number Sequence
Number SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 127846 Accepted Submission(s): 31083Problem DescriptionA number se原创 2015-08-03 21:07:08 · 369 阅读 · 0 评论 -
hdoj 2404 Permutation Recovery【基础题】
Permutation RecoveryTime Limit: 10000/4000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 470 Accepted Submission(s): 328Problem DescriptionProfessor原创 2015-09-12 21:13:03 · 339 阅读 · 0 评论 -
hdoj 1019 A Mathematical Curiosity【基础题】
A Mathematical CuriosityTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 33679 Accepted Submission(s): 10686Problem DescriptionGiv原创 2015-11-05 22:39:21 · 336 阅读 · 0 评论 -
B - 四月纲领 light oj 1245【数论】
B - 四月纲领Time Limit:3000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1245DescriptionI was trying to solve problem '1234 - Harmonic Number'原创 2015-11-07 22:40:01 · 405 阅读 · 0 评论 -
hdoj 1034 Candy Sharing Game【基础题】&&【关键是理解题意】
Candy Sharing GameTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4008 Accepted Submission(s): 2487Problem DescriptionA number of原创 2015-10-22 21:24:38 · 354 阅读 · 0 评论 -
light oj 【数论】1297 - Largest Box【三分】
1297 - Largest BoxPDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBIn the following figure you can see a rectangular card. The widt原创 2015-11-08 13:31:42 · 465 阅读 · 0 评论 -
周赛 题 1 light oj 1005【2015/10/24】
A - 楼下水题Crawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1005 DescriptionA rook原创 2015-10-25 19:28:03 · 327 阅读 · 0 评论 -
nyoj 111 分数加减法 【简单题】
分数加减法时间限制:3000 ms | 内存限制:65535 KB难度:2描述 编写一个C程序,实现两个分数的加减法输入输入包含多行数据 每行数据是一个字符串,格式是"a/boc/d"。 其中a, b, c, d是一个0-9的整数。o是运算符"+"或者"-"。 数据以EOF结束 输入数据保证合法输出对于输入数据的每一行输出两个分原创 2016-02-29 20:04:58 · 447 阅读 · 0 评论