自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(80)
  • 收藏
  • 关注

原创 【Light-oj】-Integer Divisibility(同余定理)

1078 - Integer Divisibility   PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBIf an integer is not divisible by 2 or 5, some multi

2016-07-30 17:25:42 384

原创 【Light-oj】-1198 - Karate Competition(贪心+双端队列)

1198 - Karate Competition   PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBYour karate club challenged another karate club in you

2016-07-30 17:22:16 370

原创 【HDU】-2553-N皇后问题(DFS)

N皇后问题Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 18341    Accepted Submission(s): 8298Problem Description在N*N的方格棋盘放置了N个皇后,使得

2016-07-30 09:49:16 334

原创 【HDU】-2612-Find a way(BFS,好)

Find a wayTime Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10394    Accepted Submission(s): 3399Problem DescriptionPass a year le

2016-07-29 21:22:42 366

原创 【HDU】-2717-Catch That Cow(BFS)

Catch That CowTime Limit: 5000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 12312    Accepted Submission(s): 3824Problem DescriptionFarmer Joh

2016-07-29 21:10:46 334

原创 【HDU】-1242-Rescue(BFS+优先队列)

RescueTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 26500    Accepted Submission(s): 9380Problem DescriptionAngel was caught b

2016-07-29 21:04:27 377

原创 【POJ】-2251-Dungeon Master(BFS+队列)

Dungeon MasterTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 26414 Accepted: 10282DescriptionYou are trapped in a 3D dungeon and need to find the qui

2016-07-28 21:09:59 372

原创 【NYOJ】-最少步数(DFS || BFS&&队列)

最少步数时间限制:3000 ms  |  内存限制:65535 KB难度:4描述这有一个迷宫,有0~8行和0~8列: 1,1,1,1,1,1,1,1,1 1,0,0,1,0,0,1,0,1 1,0,0,1,1,0,0,0,1 1,0,1,0,1,1,0,1,1 1,0,0,0,0,1,0,0,1 1,1,0,1,0,1,0,0,1

2016-07-28 18:05:16 569

原创 【HDU】-1241-Oil Deposits(DFS || BFS&&队列)

Oil DepositsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 24446    Accepted Submission(s): 14051Problem DescriptionThe GeoSurv

2016-07-28 17:57:17 415

原创 【HDU】-1181-变形课(DFS)

变形课Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 21412    Accepted Submission(s): 7721Problem Description呃......变形课上Harry碰到了一

2016-07-28 17:36:39 401

原创 【POJ】-3620-Avoid The Lakes(DFS)

Avoid The LakesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7877 Accepted: 4148DescriptionFarmer John's farm was flooded in the most recent storm,

2016-07-28 17:22:47 358

原创 【POJ】-1979-Red and Black(DFS)

Red and BlackTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 30654 Accepted: 16685DescriptionThere is a rectangular room, covered with square tiles. E

2016-07-28 11:21:02 299

原创 【Poj】-3370-Halloween treats(抽屉原理&STL)

Halloween treatsTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 7941 Accepted: 2894 Special JudgeDescriptionEvery year there is the same problem a

2016-07-27 21:09:54 429

原创 【HDU】-1052-Tian Ji -- The Horse Racing(贪心,双端队列)

Tian Ji -- The Horse RacingTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 26393    Accepted Submission(s): 7785Problem Description

2016-07-27 19:37:30 572

原创 【Poj】-3069-Saruman's Army(贪心)

Saruman's ArmyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7611 Accepted: 3888DescriptionSaruman the White must lead his army along a straight pa

2016-07-27 16:16:49 550

原创 【HDU】-2141-Can you find it?(二分)

Can you find it?Time Limit: 10000/3000 MS (Java/Others)    Memory Limit: 32768/10000 K (Java/Others)Total Submission(s): 23795    Accepted Submission(s): 6032Problem DescriptionGive yo

2016-07-27 11:24:26 256

原创 【HDU】-4907-Task schedule(并查集)

Task scheduleTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2796    Accepted Submission(s): 955Problem Description有一台机器,并且给你这台机

2016-07-27 10:12:39 328

原创 【Codeforces】-698A-Vacations(贪心)

点击打开链接A. Vacationstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has n days of vac

2016-07-27 08:51:30 391

原创 【Light-oj】-Expanding Rods(二分&几何)

点击打开链接1137 - Expanding Rods   PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBWhen a thin rod of length L is heated n de

2016-07-26 21:23:06 399

原创 【NBUTOJ】-1651-Red packet(二分)

[1651] Red packet时间限制: 1000 ms 内存限制: 65535 K问题描述New Year is coming! Our big boss Wine93 will distribute some “Red Package”, just like Alipay and Wechat.Wine93 has m yuan, he decides to

2016-07-26 20:16:35 505

原创 【HDU】-1969-Pie(二分)

PieTime Limit: 5000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9210    Accepted Submission(s): 3333Problem DescriptionMy birthday is coming

2016-07-26 19:54:50 339

原创 【HDU】-4004-The Frog's Games(二分,难)

The Frog's GamesTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 6058    Accepted Submission(s): 2932Problem DescriptionThe annua

2016-07-26 15:47:10 317

原创 【HDU】-1551-Cable master(二分)

Cable masterTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3677    Accepted Submission(s): 1416Problem DescriptionInhabitants o

2016-07-26 15:09:44 523

原创 【HDU】-2199-Can you solve this equation?(二分)

Can you solve this equation?Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 16517    Accepted Submission(s): 7324Problem Description

2016-07-26 11:21:28 376

原创 【HDU】-1237-简单计算器(栈)

简单计算器Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17988    Accepted Submission(s): 6330Problem Description读入一个只包含 +, -, *, /

2016-07-25 21:54:52 405

原创 【HDU】-4006-The kth great number(优先队列,好)

The kth great numberTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 9936    Accepted Submission(s): 3960Problem DescriptionXiao

2016-07-25 21:24:20 417

原创 【POJ】-3253-Fence Repair(优先队列)

Fence RepairTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 39382 Accepted: 12824DescriptionFarmer John wants to repair a small length of the fence ar

2016-07-25 21:12:02 400

原创 【HDU]-1896-Stones(优先队列,好)

StonesTime Limit: 5000/3000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 2009    Accepted Submission(s): 1315Problem DescriptionBecause of the wron

2016-07-25 20:56:03 391

原创 【Codeforces】-629B-.Far Relative’s Problem(贪心.时间区间)

点击打开链接B. Far Relative’s Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFamil Doo

2016-07-23 20:24:59 391

原创 【HDU】-4883-TIANKENG’s restaurant(贪心.时间区间)

TIANKENG’s restaurantTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 2586    Accepted Submission(s): 967Problem DescriptionTIAN

2016-07-23 19:43:27 346

原创 【HDU】-1789-Doing Homework again(贪心,好)

Doing Homework againTime Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11360    Accepted Submission(s): 6678Problem DescriptionIgna

2016-07-23 17:59:33 322

原创 【HDU】-2035-人见人爱A^B(快速幂)

人见人爱A^BTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 35280    Accepted Submission(s): 23961Problem Description求A^B的最后三位数表示的整数。

2016-07-23 15:26:48 353

原创 【POJ】-1995-Raising Modulo Numbers(快速幂,同余定理)

Raising Modulo NumbersTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 6530 Accepted: 3863DescriptionPeople are different. Some secretly read magazines

2016-07-23 15:21:30 499

原创 【POJ】-3641-Pseudoprime numbers(快速幂,大数素数判定)

Pseudoprime numbersTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8607 Accepted: 3616DescriptionFermat's theorem states that for any prime number p a

2016-07-23 15:10:08 581

原创 【HDU】-5363-Key Set(快速幂)

Key SetTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1764    Accepted Submission(s): 929Problem Descriptionsoda has a set S 

2016-07-23 14:57:21 306

原创 【POJ】-2356-Find a multiple(抽屉原理&STL)

Find a multipleTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7418 Accepted: 3233 Special JudgeDescriptionThe input contains N natural (i.e. posi

2016-07-23 10:01:14 378

原创 【codeforce】-697B-Barnicle(科学计数化十进制)麻烦!

点击打开链接B. Barnicletime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBarney is standing in a

2016-07-22 21:06:50 563

原创 【codeforces】-699B-One Bomb(思维)

点击打开链接B. One Bombtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a desc

2016-07-22 20:15:21 389

原创 【HDU-oj】-2124-Repair the Wall(贪心)

Repair the WallTime Limit: 5000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3478    Accepted Submission(s): 1708Problem DescriptionLong time

2016-07-22 15:27:20 325

原创 【HDU-oj]-1009-FatMouse' Trade(贪心)

FatMouse' TradeTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 66462    Accepted Submission(s): 22584Problem DescriptionFatMouse

2016-07-22 15:23:26 523

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除