自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Prim

我不是Prim

  • 博客(417)
  • 资源 (1)
  • 收藏
  • 关注

原创 Codeforces Round #368 (Div. 2) B. Bakery(简单图)

B. Bakery time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Masha wants to open her own bakery and bake muffins in one of the n cities numbe

2016-12-13 19:35:05 307

原创 Codeforces Round #383 (Div. 2) B. Arpa’s obvious problem and Mehrdad’s terrible solution(模拟)

B. Arpa’s obvious problem and Mehrdad’s terrible solution time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output There are some beautiful girls in

2016-12-07 20:36:26 310

原创 Codeforces Round #383 (Div. 2) A. Arpa’s hard exam and Mehrdad’s naive cheat(水题)

A. Arpa’s hard exam and Mehrdad’s naive cheat time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output There exists an island called Arpa’s land, so

2016-12-07 20:32:30 754

原创 CodeForces-712B. Memory and Trident(模拟)

B. Memory and Trident time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Memory is performing a walk on the two-dimensional plane, starting a

2016-12-07 19:55:57 314

原创 CodeForces 712A. Memory and Crow(水题)

A. Memory and Crow time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output There are n integers b1, b2, …, bn written in a row. For all i from 1 t

2016-12-07 19:51:58 505

原创 CodeForces-714C. Sonya and Queries(状压优化)

C. Sonya and Queries time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Today Sonya learned about long integers and invited all her friends to

2016-12-07 19:34:12 261

原创 CodeForces 714B. Filya and Homework(模拟)

B. Filya and Homework time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Today, hedgehog Filya went to school for the very first time! Teacher

2016-12-07 19:29:18 335

原创 CodeForces-714A. Meeting of Old Friends(水题)

A. Meeting of Old Friends time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Today an outstanding event is going to happen in the forest — hed

2016-12-07 19:26:31 389

原创 CodeForces-716B. Complete the Word(模拟)

B. Complete the Word time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output ZS the Coder loves to read the dictionary. He thinks that a word is n

2016-12-02 18:53:48 297

原创 CodeForces-716A. Crazy Computer(太水)

A. Crazy Computer time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output ZS the Coder is coding on a crazy computer. If you don’t type in a word

2016-12-02 18:52:12 269

原创 CodeForces-719A. Vitya in the Countryside(模拟)

A. Vitya in the Countryside time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Every summer Vitya comes to visit his grandmother in the countr

2016-11-30 18:32:31 266

原创 CodeForces 722C. Destroying Array(并查集 好题)

C. Destroying Array time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You are given an array consisting of n non-negative integers a1, a2, …,

2016-11-29 20:07:08 468

原创 CodeForces 722B. Verse Pattern(模拟)

B. Verse Pattern time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You are given a text consisting of n lines. Each line contains some space-

2016-11-29 20:03:52 371

原创 CodeForces-722A. Broken Clock(模拟)

A. Broken Clock time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You are given a broken clock. You know, that it is supposed to show time in

2016-11-29 20:01:10 361

原创 POJ-2342-Anniversary party(树形DP)

Anniversary party Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7356 Accepted: 4228 DescriptionThere is going to be a party to celebrate the 80-th Anniversary of the Ural State

2016-11-28 20:24:58 247

原创 Codeforces Round #382 (Div. 2)-735D. Taxes(哥德巴赫猜想?!)

D. Taxes time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Mr. Funt now lives in a country with a very specific tax laws. The total income o

2016-11-28 16:26:52 416

原创 Codeforces Round #382 (Div. 2)-735C. Tennis Championship(递推)

C. Tennis Championship time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Famous Brazil city Rio de Janeiro holds a tennis tournament and Ost

2016-11-28 16:17:39 580

原创 Codeforces Round #382 (Div. 2)-735B. Urbanization(贪心)

B. Urbanization time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Local authorities have heard a lot about combinatorial abilities of Ostap

2016-11-28 16:07:38 476

原创 Codeforces Round #382 (Div. 2)-735A. Ostap and Grasshopper(BFS)

A. Ostap and Grasshopper time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output On the way to Rio de Janeiro Ostap kills time playing with a gras

2016-11-28 15:56:02 412

原创 CodeForces 723D-Lakes in Berland(BFS DFS)

D. Lakes in Berland time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output The map of Berland is a rectangle of the size n × m, which consists of

2016-11-25 13:01:01 586

原创 CodeForces 723C-Polycarp at the Radio(模拟 贪心 vector乱搞)

C. Polycarp at the Radio time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Polycarp is a music editor at the radio station. He received a pl

2016-11-25 12:54:02 467

原创 CodeForces 723B-Text Document Analysis(模拟)

B. Text Document Analysis time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Modern text editors usually show some information regarding the d

2016-11-25 12:43:46 263

原创 CodeForces 723A-The New Year: Meeting Friends(很水)

A. The New Year: Meeting Friends time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output There are three friend living on the straight line Ox in L

2016-11-25 12:39:46 395

原创 CodeForces 731C-Socks(联通图 并查集)

C. Socks time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Arseniy is already grown-up and independent. His mother decided to leave him alon

2016-11-24 17:38:53 367

原创 CodeForces 731B-Coupons and Discounts(贪心 模拟)

B. Coupons and Discounts time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output The programming competition season has already started and it’s ti

2016-11-24 14:38:45 584

原创 CodeForces 731A-Night at the Museum

A. Night at the Museum time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Grigoriy, like the hero of one famous comedy film, found a job as a

2016-11-24 14:32:47 365

原创 Codeforces Round #381 (Div. 2) C. Alyona and mex(模拟)

C. Alyona and mex time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Alyona’s mother wants to present an array of n non-negative integers to

2016-11-24 14:27:48 807

原创 Codeforces Round #381 (Div. 2) B. Alyona and flowers(贪心 模拟)

B. Alyona and flowers time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Little Alyona is celebrating Happy Birthday! Her mother has an array

2016-11-24 14:24:31 448

原创 Codeforces Round #381 (Div. 2) A. Alyona and copybooks(模拟)

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-24 14:17:58 438

原创 CodeForces-732D-Exams(二分 模拟 贪心)

D. Exams time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vasiliy has an exam period which will continue for n days. He has to pass exams on

2016-11-23 13:06:06 357

原创 CodeForces-732C-Sanatorium(模拟)

C. Sanatorium time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vasiliy spent his vacation in a sanatorium, came back and found that he compl

2016-11-23 13:00:02 374

原创 CodeForces-732B-Cormen — The Best Friend Of a Man(简单模拟)

B. Cormen — The Best Friend Of a Man time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Recently a dog was bought for Polycarp. The dog’s name

2016-11-23 12:54:30 399

原创 CodeForces-732A-Buy a Shovel(水题)

A. Buy a Shovel time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Polycarp urgently needs a shovel! He comes to the shop and chooses an appro

2016-11-23 12:50:37 335

原创 Codeforces-734C-Anton and Making Potions(枚举+二分)

C. Anton and Making Potions time limit per test4 seconds memory limit per test256 megabytes inputstandard input outputstandard output Anton is playing a very interesting computer game, but now he

2016-11-22 11:01:17 492

原创 Codeforces-734B-Anton and Digits(贪心)

B. Anton and Digits time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Recently Anton found a box with digits in his room. There are k2 digits

2016-11-22 10:45:49 735

原创 Codeforces-734A-Anton and Danik(很水)

A. Anton and Danik time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Anton likes to play chess, and so does his friend Danik.Once they have p

2016-11-22 10:43:09 538

原创 CodeForces-729C-Road to Cinema(二分查找 贪心 排序)

C. Road to Cinema time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vasya is currently at a car rental service, and he wants to reach cinema.

2016-11-21 12:01:17 1273

原创 Codeforces Round-#380-Div. 2-B-Spotlights

B. Spotlights time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Theater stage is a rectangular field of size n × m. The director gave you the

2016-11-20 19:28:37 432

原创 Codeforces Round-#380-Div. 2-A-Interview with Oleg

Codeforces Round #380 (Div. 2, Rated, Based on Technocup 2017 - Elimination Round 2)A. Interview with Oleg time limit per test1 second memory limit per test256 megabytes inputstandard input outputs

2016-11-20 19:21:21 501

原创 hihoCoder-1032 - 最长回文子串(Manacher 马拉车)

1032 : 最长回文子串 时间限制:1000ms 单点时限:1000ms 内存限制:64MB 描述 小Hi和小Ho是一对好朋友,出生在信息化社会的他们对编程产生了莫大的兴趣,他们约定好互相帮助,在编程的学习道路上一同前进。这一天,他们遇到了一连串的字符串,于是小Hi就向小Ho提出了那个经典的问题:“小Ho,你能不能分别在这些字符串中找到它们每一个的最长回文子串呢?”小Ho奇怪的问道

2016-11-20 15:25:29 304

《数据结构》算法实现及解析[第二版]高一凡

数据结构课本的电子版

2016-03-19

空空如也

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

TA关注的人

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