- 博客(630)
- 资源 (1)
- 收藏
- 关注
原创 hdoj--5100--Chessboard(数学推理)
ChessboardTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 910 Accepted Submission(s): 384Problem DescriptionConsider the pr
2016-03-05 16:46:09 215
原创 UESTC--1251--谕神的密码(贪心)
谕神的密码Time Limit: 1000MS Memory Limit: 65535KB 64bit IO Format: %lld & %lluSubmitStatus Description谕神是集训队里面智商数一数二的大神,在他的电脑里储存着他在学习的东西。每天都要通过学习来提高自己的知识水平。然而
2016-03-05 16:23:28 380
原创 poj--3061--Subsequence(贪心)
SubsequenceTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10882 Accepted: 4498DescriptionA sequence of N positive integers (10 < N < 100 000), each of
2016-03-05 14:04:20 181
原创 hdoj--1220--Cube(数学推导)
CubeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1723 Accepted Submission(s): 1368Problem DescriptionCowl is good at solvi
2016-03-05 13:49:42 180
原创 poj--3187--Backward Digit Sums(dfs)
Backward Digit SumsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5667 Accepted: 3281DescriptionFJ and his cows enjoy playing a mental game. They write
2016-03-05 13:36:55 238
原创 hdoj--1027--Ignatius and the Princess II(dfs)
Ignatius and the Princess IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6362 Accepted Submission(s): 3763Problem Descript
2016-03-05 13:33:57 225
原创 UESTC--758--P酱的冒险旅途(模拟)
P酱的冒险旅途Time Limit: 1000MS Memory Limit: 65535KB 64bit IO Format: %lld & %lluSubmitStatus DescriptionP酱是个可爱的男孩子,有一天他在野外冒险,不知不觉中走入了一块神奇的地方。他在 时刻进入这个地方,每一时刻他都只能向
2016-03-05 13:24:21 279
原创 nyoj--990--蚂蚁感冒(模拟)(思维题)
蚂蚁感冒时间限制:1000 ms | 内存限制:65535 KB难度:2描述长100厘米的细长直杆子上有n只蚂蚁。它们的头有的朝左,有的朝右。 每只蚂蚁都只能沿着杆子向前爬,速度是1厘米/秒。 当两只蚂蚁碰面时,它们会同时掉头往相反的方向爬行。 这些蚂蚁中,有1只蚂蚁感冒了。并且在和其它蚂蚁碰面时,会把感冒传染给碰到的蚂蚁。 请你计算,当所有蚂蚁都爬离杆子时,有
2016-03-04 17:38:52 411
原创 历届试题 邮局(dfs+剪枝)
历届试题 邮局 时间限制:1.0s 内存限制:256.0MB 问题描述 C村住着n户村民,由于交通闭塞,C村的村民只能通过信件与外界交流。为了方便村民们发信,C村打算在C村建设k个邮局,这样每户村民可以去离自己家最近的邮局发信。 现在给出了m个备选的邮局,请从中选出k个来,使得村民到自己家最近的邮局的距离和最小。其中两点之间的距离定义
2016-03-03 12:47:06 637
原创 历届试题 数字游戏
历届试题 数字游戏 时间限制:1.0s 内存限制:256.0MB 问题描述 栋栋正在和同学们玩一个数字游戏。 游戏的规则是这样的:栋栋和同学们一共n个人围坐在一圈。栋栋首先说出数字1。接下来,坐在栋栋左手边的同学要说下一个数字2。再下面的一个同学要从上一个同学说的数字往下数两个数说出来,也就是说4。下一个同学要往下数三个数,说7。依次
2016-03-02 20:43:28 291
原创 历届试题 回文数字
历届试题 回文数字 时间限制:1.0s 内存限制:256.0MB 问题描述 观察数字:12321,123321 都有一个共同的特征,无论从左到右读还是从右向左读,都是相同的。这样的数字叫做:回文数字。 本题要求你找到一些5位或6位的十进制数字。满足如下要求: 该数字的各个数位之和等于输入的整数。输入格式 一个正
2016-03-02 19:52:02 469
原创 基础练习 01字串
基础练习 01字串 时间限制:1.0s 内存限制:256.0MB 问题描述对于长度为5位的一个01串,每一位都可能是0或1,一共有32种可能。它们的前几个是:0000000001000100001100100请按从小到大的顺序输出这32种01串。输入格式本试题没有输入。
2016-03-02 19:12:17 301
原创 基础练习 杨辉三角形
基础练习 杨辉三角形 时间限制:1.0s 内存限制:256.0MB 问题描述杨辉三角形又称Pascal三角形,它的第i+1行是(a+b)i的展开式的系数。 它的一个重要性质是:三角形中的每个数字等于它两肩上的数字相加。 下面给出了杨辉三角形的前4行: 1 1 1
2016-03-02 18:27:33 233
原创 基础练习 回文数
基础练习 回文数 时间限制:1.0s 内存限制:512.0MB 问题描述 1221是一个非常特殊的数,它从左边读和从右边读是一样的,编程求所有这样的四位十进制数。输出格式 按从小到大的顺序输出满足条件的四位十进制数。我去,真是傻,忘记考虑0的情况了,0不可以在首位跟末尾,但是可以在中间#incl
2016-03-02 18:20:35 253
原创 入门训练 Fibonacci数列
入门训练 Fibonacci数列 时间限制:1.0s 内存限制:256.0MB 问题描述Fibonacci数列的递推公式为:Fn=Fn-1+Fn-2,其中F1=F2=1。当n比较大时,Fn也非常大,现在我们想知道,Fn除以10007的余数是多少。输入格式输入包含一个整数n。输出格式输出一行,包含
2016-03-02 18:12:50 234
原创 poj--1258--Agri-Net(最小生成树)
Agri-NetTime Limit: 1000MS Memory Limit: 10000KB 64bit IO Format: %I64d & %I64uSubmitStatus DescriptionFarmer John has been elected mayor of his town! One of
2016-03-02 13:34:23 408 3
原创 CodeForces--626C--Block Towers (二分)
Block TowersTime Limit: 2000MS Memory Limit: 262144KB 64bit IO Format: %I64d & %I64uSubmitStatus DescriptionStudents in a class are making towers of blocks. E
2016-03-02 11:03:04 560
原创 Codeforces--629A--Far Relative’s Birthday Cake(暴力模拟)
Far Relative’s Birthday CakeTime Limit: 1000MS Memory Limit: 262144KB 64bit IO Format: %I64d & %I64uSubmitStatus DescriptionDoor's family is going celebrate F
2016-03-02 10:14:16 436
原创 Codeforces--629B--Far Relative’s Problem(模拟)
Far Relative’s ProblemTime Limit: 2000MS Memory Limit: 262144KB 64bit IO Format: %I64d & %I64uSubmitStatus DescriptionFamil Door wants to celebrate his birthd
2016-03-02 09:34:38 239
原创 hdoj--5104--Primes Problem(素数打表)
Primes ProblemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2016 Accepted Submission(s): 928Problem DescriptionGiven a numb
2016-03-01 22:15:03 524
原创 zoj--3870--Team Formation(位运算好题)
Team FormationTime Limit: 3000MS Memory Limit: 131072KB 64bit IO Format: %lld & %lluSubmitStatus DescriptionFor an upcoming programming contest, Edward, the h
2016-03-01 21:43:18 318
原创 Codeforces--633D--Fibonacci-ish(暴力搜索+去重)(map)
Fibonacci-ishTime Limit: 3000MS Memory Limit: 524288KB 64bit IO Format: %I64d & %I64uSubmitStatus DescriptionYash has recently learnt about the Fibonacci sequ
2016-03-01 20:08:40 379
原创 zzulioj--1730--通信基站(全排列+dfs)(好题)
1730: 通信基站Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 28 Solved: 11SubmitStatusWeb BoardDescriptionInputOutputSample Input22 1 10 04 43 100 10 01 1
2016-03-01 17:37:59 645
原创 poj--1274--The Perfect Stall(匈牙利裸题)
The Perfect StallTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 21868 Accepted: 9809DescriptionFarmer John completed his new barn just last week, compl
2016-02-29 22:12:03 504 2
原创 hdoj--5619--Jam's store(最小费用最大流)
Jam's storeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 134 Accepted Submission(s): 49Problem DescriptionJam didn't study
2016-02-29 21:43:39 442
原创 hdoj--1518--Square(dfs)
SquareTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11824 Accepted Submission(s): 3794Problem DescriptionGiven a set of st
2016-02-29 20:19:55 269
原创 poj--3692--Kindergarten(最大独立集)
KindergartenTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 6059 Accepted: 2982DescriptionIn a kindergarten, there are a lot of kids. All girls of the k
2016-02-29 19:22:22 324
原创 poj--3278--Catch That Cow(bfs)
Catch That CowTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 67914 Accepted: 21397DescriptionFarmer John has been informed of the location of a fugitiv
2016-02-29 17:49:40 632
原创 poj--2031--Building a Space Station(prime)
Building a Space StationTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 6635 Accepted: 3236DescriptionYou are a member of the space station engineering te
2016-02-19 14:11:35 403 2
原创 nyoj--364--田忌赛马(贪心)
田忌赛马时间限制:3000 ms | 内存限制:65535 KB难度:3描述 Here is a famous story in Chinese history."That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to play h
2016-02-17 14:26:58 335
原创 nyoj--496--巡回赛(拓扑排序)
巡回赛时间限制:1000 ms | 内存限制:65535 KB难度:3描述 世界拳击协会(WBA)是历史最悠久的世界性拳击组织,孕育了众多的世界冠军,尤其是重量级,几乎造就了大家耳熟能详的所有伟大的拳王。阿里、弗雷泽、福尔曼被称为“70年代重量级拳坛 三巨头”,是当之无愧的拳王,他们的得到的金腰带都刻有 WBA 字样。为庆贺世界拳击协会成立 50 周年,WBA 主席门多萨邀请
2016-02-17 13:11:41 642
原创 nyoj--1100--WAJUEJI which home strong!(bfs)
WAJUEJI which home strong!时间限制:1000 ms | 内存限制:65535 KB难度:2描述在一个山沟里,姐弟俩同时考上了大学。但由于家里拮据,所以这并不是什么好消息。父亲对孩子说:我就是砸锅卖铁也要把你们姐俩供出来。 当时的姐姐已经决定放弃上学的机会。 没想到第二天天还没亮,弟弟就偷偷带著几件破衣服和几个乾巴馒头走了,在姐姐
2016-02-16 15:46:17 317
原创 hdoj--5625--Clarke and chemistry(枚举)
Clarke and chemistryTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 173 Accepted Submission(s): 95Problem DescriptionClarke i
2016-02-14 13:38:13 344
原创 poj--1753--Flip Game(dfs好题)
Flip GameTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 37201 Accepted: 16201DescriptionFlip game is played on a rectangular 4x4 field with two-sided pie
2016-02-13 17:04:15 370
原创 poj--1101--The Game(bfs)
The GameTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 9746 Accepted: 2967DescriptionOne morning, you wake up and think: "I am such a good programmer. Wh
2016-02-13 15:59:54 419
原创 poj--2516--Minimum Cost(最小费用流)
Minimum CostTime Limit: 4000MS Memory Limit: 65536KTotal Submissions: 15340 Accepted: 5304DescriptionDearboy, a goods victualer, now comes to a big problem, and he
2016-02-12 17:24:32 431
原创 hdoj--1533--Going Home(最小费用流)
Going HomeTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3800 Accepted Submission(s): 1948Problem DescriptionOn a grid map th
2016-02-12 15:13:56 307
原创 hdoj--5621--KK's Point(简单数学)
KK's PointTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 350 Accepted Submission(s): 121Problem DescriptionOur lovely KK has a
2016-02-08 11:06:25 283
原创 hdoj--5620--KK's Steel(斐波那契数)
KK's SteelTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 109 Accepted Submission(s): 48Problem DescriptionOur lovely KK has a
2016-02-07 10:33:34 399
原创 nyoj--635--Oh, my goddess(dfs)
Oh, my goddess时间限制:3000 ms | 内存限制:65535 KB难度:3描述 Shining Knight is the embodiment of justice and he has a very sharp sword can even cleavewall. Many bad guys are dead on his sword.On
2016-02-06 22:32:21 379
jsr173_1.0_api.jar rasolver.jar xbean.jar xbean_xpath.jar xmlbeans-qname.jar
2017-05-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人