7 2997ms

尚未进行身份认证

我要认证

暂无相关简介

等级
TA的排名 8k+

HourRank 10:Accessory Collection

题目链接:https://www.hackerrank.com/contests/hourrank-10/challenges/accessory-collection题意是1到A,A种物品,第i种物品价值为i,你要买L件,要求满足的条件是,买的L件物品中,任意挑选N件,其种类至少要有D种。问物品的总价值最大是多少。做的时候很懵。。。贪了一下,只过了样例。经过鸟神的翻译之后,题意可以简

2016-07-07 18:45:37

2016年6月

这个6月感觉自己过得像坨屎,想干的事一件都没完成。2016年过完一半了,7、8月希望能够有所改变。

2016-06-30 21:35:17

51nod 1623:完美消除

1623 完美消除基准时间限制:1 秒 空间限制:131072 KB 分值: 80 难度:5级算法题 收藏 关注定义数的消除操作为选定[L,R,x],如果数的第L到第R位上的数字都大于等于x,并且这些数都相等,那么该操作是合法的(从低位到高位编号,个位是第一位,百位是第二位……),然后将这些位数上的数减x;否则就是不合法的,不能进行操

2016-06-29 18:02:02

51nod1685:第K大区间2

1685 第K大区间2基准时间限制:1.5 秒 空间限制:131072 KB 分值: 160 难度:6级算法题 收藏 关注定义一个长度为奇数的区间的值为其所包含的的元素的中位数。中位数_百度百科 现给出n个数,求将所有长度为奇数的区间的值排序后,第K大的值为多少。样例解释:[l,r]表示区间的值

2016-06-02 19:03:18

Topcoder srm div2 500

Problem Statement Hero has just constructed a very specific graph. He started with n isolated vertices, labeled 0 through n-1. For each vertex i Hero then chose a vertex a[i] (other than i)

2016-06-01 22:07:00

HDU 5682:zxa and leaf 二分

zxa and leaf  Accepts: 25  Submissions: 249 Time Limit: 5000/2500 MS (Java/Others)  Memory Limit: 65536/65536 K (Java/Others)问题描述zxa有一棵含有nn个节点的无根树,包含(n-1)(n−1)条无向边,点从11到nn编号,

2016-05-18 21:33:39

HDU 5681:zxa and wifi

zxa and wifi  Accepts: 13  Submissions: 299 Time Limit: 2000/1000 MS (Java/Others)  Memory Limit: 65536/65536 K (Java/Others)问题描述zxa来到Q镇做义工,镇长希望给住在Q镇中轴线上的nn户人家实现网络覆盖。这nn户人家可以

2016-05-18 19:43:23

HDU 5668:Circle 同余方程

Circle  Accepts: 62  Submissions: 478 Time Limit: 2000/1000 MS (Java/Others)  Memory Limit: 65536/65536 K (Java/Others)问题描述\ \ \ \    Fye对约瑟夫游戏十分着迷.\ \ \ \    她找到了nn个同学,把他们

2016-05-18 18:44:09

Codeforces 672E:Ultimate Weirdness of an Array 线段树

E. Ultimate Weirdness of an Arraytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYasin has an array a cont

2016-05-16 22:33:36

POJ 3601:Tower of Hanoi

Tower of HanoiTime Limit: 1000MS Memory Limit: 131072KTotal Submissions: 1903 Accepted: 651DescriptionThe Tower of Hanoi is a puzzle consisting of three pegs an

2016-05-11 19:08:57

POJ 2831:Can We Build This One?

Can We Build This One?Time Limit: 5000MS Memory Limit: 65536KTotal Submissions: 1415 Accepted: 527Case Time Limit: 2000MSDescription“Highways are built, t

2016-05-01 22:59:25

POJ 1920 :Towers of Hanoi

Towers of HanoiTime Limit: 3000MS Memory Limit: 16000KTotal Submissions: 2239 Accepted: 999Case Time Limit: 1000MSDescriptionSurely you have already come

2016-05-01 18:14:13

Hackerrank:Yet Another KMP Problem

Yet Another KMP Problemlockedby StonefeangProblemSubmissionsLeaderboardDiscussionsEditorialThis challenge uses the famous KMP algorithm. I

2016-05-01 17:45:06

Hackerrank :Gena Playing Hanoi

Gena Playing Hanoilockedby nikasvanidzeProblemSubmissionsLeaderboardDiscussionsEditorialThe Tower of Hanoi is a famous game consisting of 

2016-05-01 10:35:03

POJ 1679:The Unique MST 次小生成树

The Unique MSTTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 26359 Accepted: 9416DescriptionGiven a connected undirected graph, tell if its minimum s

2016-04-29 17:58:41

POJ 1637:Sightseeing tour 混合图欧拉回路

Sightseeing tourTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 8768 Accepted: 3684DescriptionThe city executive board in Lund wants to construct a si

2016-04-29 16:05:40

POJ 3243:Clever Y BSGS

Clever YTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 7782 Accepted: 1939DescriptionLittle Y finds there is a very interesting formula in mathematic

2016-04-29 09:48:17

51nod 1232:完美数

1232 完美数题目来源: 胡仁东基准时间限制:2 秒 空间限制:131072 KB 分值: 160 难度:6级算法题 收藏 关注如果一个数能够被组成它的各个非0数字整除,则称它是完美数。例如:1-9都是完美数,10,11,12,101都是完美数,但是13就不是完美数(因为13不能被数字3整除)。现在给定正整数x,y,求x

2016-04-27 21:12:00

HDU 4651&&HDU 4658 五边形数定理

HDU 4651是求正整数分解,

2016-04-26 22:02:37

Codeforces 664C:International Olympiad

C. International Olympiadtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputInternational Abbreviation Olympia

2016-04-24 13:46:34

查看更多

勋章 我的勋章
  • GitHub
    GitHub
    绑定GitHub第三方账户获取