自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 P OJ-----3176DP动态规划入门

Cow BowlingTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 17407 Accepted: 11611DescriptionThe cows don't use actual bowling balls when they go bowlin

2016-07-30 10:46:54 223

原创 Light OJ-----1138二分

1138 - Trailing Zeroes (III)   PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBYou task is to find minimal natural number N, so th

2016-07-30 09:17:54 369

原创 POJ-----3279暴力枚举

FliptileTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 7394 Accepted: 2787DescriptionFarmer John knows that an intellectually satisfied cow is a happ

2016-07-29 20:07:16 825

原创 POJ-----3278BFS

Catch That CowTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 74836 Accepted: 23623DescriptionFarmer John has been informed of the location of a fugit

2016-07-29 14:24:48 189

原创 HDOJ-----1242BFS

RescueTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 26310    Accepted Submission(s): 9300Problem DescriptionAngel was caught by th

2016-07-29 14:08:35 231

原创 HDOJ-----2553N皇后问题

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

2016-07-29 08:57:31 267

原创 POJ-----2251BFS

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

2016-07-29 08:54:51 167

原创 HDOJ-----1010DFS

Tempter of the BoneTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 106837    Accepted Submission(s): 29057Problem DescriptionThe dog

2016-07-29 08:49:41 178

原创 HDOJ-----1181DFS

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

2016-07-29 08:41:48 197

原创 Code forces 275C-----思维---二分

k-Multiple Free SetTime Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 274ADescriptionA k-multiple free set is a set

2016-07-28 11:21:11 285

原创 CodeForces 371C----- 二分

HamburgersTime Limit:1000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 371CDescriptionPolycarpus loves hamburgers very much. H

2016-07-28 11:15:09 412

原创 Code forces 348A-----思维题

MafiaTime Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 348ADescriptionOne day n friends gathered together to play "

2016-07-28 11:10:45 350

原创 Codeforces Round #219 (Div. 2 )-----贪心--思维

Counting Kangaroos is FunTime Limit:1000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 372ADescriptionThere are n kangaroos wit

2016-07-28 10:57:38 209

原创 Code forces 670D2-----二分

Magic Powder - 2Time Limit:1000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 670D2DescriptionThe term of this problem is the s

2016-07-28 10:48:28 273

原创 Code forces 448D-----二分

Multiplication TableTime Limit:1000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 448DDescriptionBizon the Champion isn't just

2016-07-28 10:37:44 293

原创 HDOJ-----4907

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

2016-07-28 10:31:08 193

原创 NOJ-----1651二分

I - Red packetTime Limit:1000MS     Memory Limit:65535KB     64bit IO Format:%I64d & %I64uSubmit Status Practice NBUT 1651DescriptionNew Year is coming! Our big boss Wine93 wil

2016-07-28 10:24:36 268

原创 HDOJ-----1969二分

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

2016-07-28 10:13:11 342

原创 POJ-----3258二分

River HopscotchTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 11497 Accepted: 4946DescriptionEvery year the cows hold an event featuring a peculiar v

2016-07-28 10:02:03 182

原创 HDOJ-----4004二分

The Frog's GamesTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 6177    Accepted Submission(s): 3011Problem DescriptionThe annual Ga

2016-07-27 21:36:35 188

原创 HDOJ-----2141二分

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

2016-07-27 21:23:04 187

原创 HDOJ-----1551二分

Cable masterTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3798    Accepted Submission(s): 1463Problem DescriptionInhabitants of th

2016-07-26 21:29:29 263

原创 HDOJ-----2199二分

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

2016-07-26 20:58:48 255

原创 HDOJ-----4006优先队列

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

2016-07-26 02:04:50 209

原创 HDOJ-----1237栈的变形

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

2016-07-26 01:48:56 211

原创 HDOJ-----1896栈

StonesTime Limit: 5000/3000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 2044    Accepted Submission(s): 1345Problem DescriptionBecause of the wrong st

2016-07-26 01:42:35 246

原创 HDOJ-----1873简单优先队列

看病要排队Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8106    Accepted Submission(s): 3368Problem Description看病要排队这个是地球人都知道的常识。不过经过

2016-07-26 01:28:58 302

原创 Code forces 612C-----栈

DescriptionYou are given string s consists of opening and closing brackets of four kinds, {},[], (). There are two types of brackets: opening and closing. You can replace any bracket by anothe

2016-07-26 01:17:41 313

原创 POJ-----1363栈的模拟

RailsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 31397 Accepted: 12199DescriptionThere is a famous railway station in PopPush City. Country there is

2016-07-26 00:50:43 276

原创 POJ-----3641快速幂

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

2016-07-23 16:18:46 229

原创 POJ-----3040贪心

AllowanceTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2921 Accepted: 1178DescriptionAs a reward for record milk production, Farmer John has decided

2016-07-23 16:08:02 292

原创 HDOJ-----1502贪心-----田忌赛马

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

2016-07-22 20:56:21 266

原创 POJ-----1328

Radar InstallationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 75260 Accepted: 16841DescriptionAssume the coasting is an infinite straight line. Land

2016-07-22 20:15:59 187

原创 HDOJ-----1789贪心

Doing Homework againTime Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11320    Accepted Submission(s): 6649Problem DescriptionIgnatius

2016-07-22 19:47:11 230

原创 Light OJ-----1336数论-----整数拆分推论

Sigma FunctionSigma function is an interesting function in Number Theory. It is denoted by the Greek letter Sigma (σ). This function actually denotes the sum of all divisors of a number. For e

2016-07-22 09:59:46 450

原创 Codeforces 580 B-----二分

Kefa and CompanyKefa wants to celebrate his first big salary by going to restaurant. However, he needs company.Kefa has n friends, each friend will agree to go to the restaurant if Kefa asks

2016-07-21 20:44:54 329

原创 Codeforces 599B-----思维题

Spongebob and JokeWhile Patrick was gone shopping, Spongebob decided to play a little trick on his friend. The naughty Sponge browsed through Patrick's personal stuff and found a sequence a1, 

2016-07-21 20:33:43 566

原创 Codeforces Round #337 (Div. 2) A-----思维题

Pasha and StickPasha has a wooden stick of some positive integer length n. He wants to perform exactly three cuts to get four parts of the stick. Each part must have some positive integer leng

2016-07-21 19:58:04 210

原创 Code Forces 612A-----思维题

The Text SplittingYou are given the string s of length n and the numbers p, q. Split the string s to pieces of length p and q.For example, the string "Hello" for p = 2, q = 3 can be split

2016-07-21 19:46:55 281

原创 HDOJ-----5053立方和公式

Problem DescriptionA range is given, the begin and the end are both integers. You should sum the cube of all the integers in the range. InputThe first line of the input is T(1 Each case of

2016-07-20 23:19:54 178

空空如也

空空如也

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

TA关注的人

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