自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Hrbust2294修建传送门(尺取法)

修建传送门 Time Limit: 1000 MS Memory Limit: 32768 K Total Submit: 76(18 users) Total Accepted: 19(16 users) Rating: Special Judge: No Description 做为长城上的卫士,影踪派一直守在螳螂高原上防止螳螂人卡拉克西的入侵。影踪派的长城可以近似看做是一条直线上依次编号为

2016-11-30 18:43:43 531

转载 Codeforces Round #382 (Div. 2)C. Tennis Championship(递推,斐波那契)

C. Tennis Championshiptime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputFamous Brazil city Rio de Janeiro holds a tennis tournament and Ostap Ben

2016-11-28 13:55:43 251

原创 Codeforces Round #382 (Div. 2)D. Taxes(数论知识)

D. Taxestime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputMr. Funt now lives in a country with a very specific tax laws. The total income of mr.

2016-11-28 11:41:58 368

原创 Codeforces Round #382 (Div. 2)(A+B)模拟

A. Ostap and Grasshoppertime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputOn the way to Rio de Janeiro Ostap kills time playing with a grasshoppe

2016-11-28 11:04:10 526

原创 Codeforces Round #381 (Div. 2)C(构造,思维)

C. Alyona and mextime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputAlyona’s mother wants to present an array of n non-negative integers to Alyona

2016-11-25 21:16:27 251

原创 Codeforces Round #381 (Div. 2)(A(dfs)+B(前缀和))

A. Alyona and copybooks time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Little girl Alyona is in a shop to buy some copybooks for school. S

2016-11-25 16:59:19 316

原创 Codeforces Round #379 (Div. 2)D(模拟)

D. Anton and Chesstime limit per test:4 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputAnton likes to play chess. Also, he likes to do programming. That is why he d

2016-11-25 12:36:49 412

原创 哈理工软件学院"兆方美迪"杯第六届程序设计大赛【高年级组】--决赛(离官方最近的题解)

首先感谢两位出题人mengxiang000000 和 Tabris_。应邀(qiu)给出官方题解。

2016-11-22 18:16:39 1375

原创 Problem G: 逃脱(搜索)

Problem G: 逃脱 Time Limit: 1 Sec Memory Limit: 32 MB Submit: 341 Solved: 36 [Submit][Status][Web Board] Description 这是mengxiang000和Tabris来到幼儿园的第四天,幼儿园老师在值班的时候突然发现幼儿园某处发生火灾,而且火势蔓延极快,老师在第一时间就发出了警报

2016-11-22 12:55:20 670

原创 SPFA

const int N=1005;int vis[N];int dis[N];int head[N<<1];int n,m,t,cont,x,y,z;int ans;struct node{ int to,next,cost;}edge[N*N*2];void add(int from,int to,int cost){ edge[cont].to=to;

2016-11-21 19:31:47 393

原创 1452: 旅行(SPFA)

1452: 旅行 Time Limit: 3 Sec Memory Limit: 32 MB Submit: 69 Solved: 19 [Submit][Status][Web Board] Description小z放假了,准备到RRR城市旅行,其中这个城市有N个旅游景点。小z时间有限,只能在三个旅行景点进行游玩。小明租了辆车,司机很善良,说咱不计路程,只要你一次性缴费足够,我就带你

2016-11-21 19:25:09 492

原创 Codeforces Round #379 (Div. 2)(A+B)

A. Anton and Daniktime limit per test:1 secondmemory limit per test:256 megabytesinput:standard inputoutput:standard outputAnton likes to play chess, and so does his friend Danik.Once they have played

2016-11-21 14:56:39 291

原创 Codeforces Round #379 (Div. 2)C. Anton and Making Potions(二分)

C. Anton and Making Potionstime limit per test:4 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputAnton is playing a very interesting computer game, but now he is stu

2016-11-21 14:31:12 201

原创 Hrbust软件学院院赛

除了因为卡在思维题很长时间导致我的矩阵快速幂没调出来之外,还是很开心。现场赛rank1,算了弥补了去年的遗憾,但还是看到和大神们的差距,再接再厉。加油吧 少年。

2016-11-21 12:55:35 452

转载 HDU5934Bomb(强连通缩点)

Bomb Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 560 Accepted Submission(s): 213Problem DescriptionThere are N bombs needing exploding.

2016-11-16 21:55:25 485

原创 等差数列Ⅱ

1416: 等差数列Ⅱ Time Limit: 1 Sec Memory Limit: 32 MB Submit: 98 Solved: 9 [Submit][Status][Web Board] Description zjw最近回忆起了等差数列,等差数列满足相邻两项的差值为定值,这个定值叫做公差d,所以f(n) – f(n-1) = d (n>1)。zjw得到一个序列,但是zjw只

2016-11-14 16:38:41 522

原创 Codeforces Round #202 (Div. 2)B. Color the Fence(贪心,模拟)

B. Color the Fencetime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputIgor has fallen in love with Tanya. Now Igor wants to show his feelings and w

2016-11-13 17:33:44 439

原创 Codeforces Round #202 (Div. 2)C. Mafia(思维)

C. Mafiatime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputOne day n friends gathered together to play “Mafia”. During each round of the game some

2016-11-13 15:49:16 433

原创 Hrbust 2249开锁魔法II(dp)

开锁魔法II Time Limit: 3000 MS Memory Limit: 256000 K Total Submit: 41(32 users) Total Accepted: 31(28 users) Rating: Special Judge: No Description 一日,崔克茜来到小马镇表演魔法。 其中有一个节目是开锁咒:舞台上有 n 个盒子,每个盒子中有一把钥匙,对

2016-11-08 18:07:41 438

原创 HDU5952Counting Cliques(dfs)

Counting Cliques Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1170 Accepted Submission(s): 449Problem DescriptionA clique is a complete

2016-11-07 21:40:55 281

原创 Hrbust1648Tailmon与序列(贪心?)

Tailmon与序列 Time Limit: 1000 MS Memory Limit: 32768 K Total Submit: 42(28 users) Total Accepted: 30(28 users) Rating: Special Judge: No Description Tailmon正在研究一串序列,这个序列包含了n个整数。现在它正想着通过一定的操作使得这串序列变得有相同数

2016-11-06 20:49:02 399

转载 HDU5701中位数计数(思维,暴力)

中位数计数 Time Limit: 12000/6000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1368 Accepted Submission(s): 513Problem Description中位数定义为所有值从小到大排序后排在正中间的那个数,如果值有偶数个

2016-11-05 20:57:50 357

原创 HDU5950Recursive sequence(矩阵快速幂)

Recursive sequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 342 Accepted Submission(s): 191Problem DescriptionFarmer John likes to p

2016-11-04 20:02:51 1560

原创 HDU 5935 Car(思维,模拟,精度)

CarTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 523    Accepted Submission(s): 185Problem DescriptionRuins is driving a car

2016-11-04 13:03:59 728

原创 HDU5933ArcSoft's Office Rearrangement(模拟)

ArcSoft’s Office RearrangementTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 422 Accepted Submission(s): 199Problem Description ArcSoft, I

2016-11-02 21:58:47 596

原创 Codeforces Round #378 (Div. 2)D(MAP)

。 D. Kostya the Sculptortime limit per test:3 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputKostya is a genial sculptor, he has an idea: to carve a marble sculptu

2016-11-02 15:46:03 567

原创 Codeforces Round #378 (Div. 2)(A+B)

A. Grasshopper And the Stringtime limit per test:1 secondmemory limit per test:256 megabytesinput:standard inputoutput:standard outputOne day, the Grasshopper was jumping on the lawn and found a piece

2016-11-02 15:26:29 239

原创 HDU-5945 Fxx and game (dp+单调队列)

Fxx and gameAccepts: 74 Submissions: 1857 Time Limit: 3000/1500 MS (Java/Others)Memory Limit: 131072/65536 K (Java/Others)问题描述 青年理论计算机科学家Fxx给的学生设计了一款数字游戏。一开始你将会得到一个数X,每次游戏将给定两个参数k,t, 任意时刻你可以对你的数执行下面

2016-11-01 21:39:24 320

原创 HDU-5945 Fxx and game (BFS)

Fxx and gameAccepts: 74 Submissions: 1857 Time Limit: 3000/1500 MS (Java/Others)Memory Limit: 131072/65536 K (Java/Others)问题描述 青年理论计算机科学家Fxx给的学生设计了一款数字游戏。一开始你将会得到一个数X,每次游戏将给定两个参数k,t, 任意时刻你可以对你的数执行下面两个

2016-11-01 19:06:01 431

空空如也

空空如也

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

TA关注的人

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