Codeforces
Prim233
南阳理工
展开
-
Codeforces Round #403 (Div. 2) A. Andryusha and Socks(简单模拟)
A. Andryusha and Socks time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Andryusha is an orderly boy and likes to keep things in their place原创 2017-03-07 20:27:36 · 594 阅读 · 0 评论 -
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 · 490 阅读 · 0 评论 -
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 · 423 阅读 · 0 评论 -
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 · 322 阅读 · 0 评论 -
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 · 767 阅读 · 0 评论 -
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 · 598 阅读 · 0 评论 -
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 · 478 阅读 · 0 评论 -
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 · 272 阅读 · 0 评论 -
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 · 407 阅读 · 0 评论 -
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 · 324 阅读 · 0 评论 -
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 · 519 阅读 · 0 评论 -
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 · 274 阅读 · 0 评论 -
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 · 341 阅读 · 0 评论 -
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 · 398 阅读 · 0 评论 -
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 · 598 阅读 · 0 评论 -
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 · 428 阅读 · 0 评论 -
Codeforces Round #387 (Div. 2)A. Display Size(简单数学)
A. Display Size time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output A big company decided to launch a new series of rectangular displays, and d原创 2016-12-19 20:19:41 · 574 阅读 · 0 评论 -
Codeforces Round #403 (Div. 2) C. Andryusha and Colored Balloons(DFS 邻接表 数据结构)
C. Andryusha and Colored Balloons time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Andryusha goes through a park each day. The squares and原创 2017-03-07 20:36:23 · 377 阅读 · 0 评论 -
Codeforces Round #403 Div. 2 B. The Meeting Place Cannot Be Changed(二分)
B. The Meeting Place Cannot Be Changed time limit per test5 seconds memory limit per test256 megabytes inputstandard input outputstandard output The main road in Bytecity is a straight line from s原创 2017-03-07 20:32:01 · 569 阅读 · 0 评论 -
Codeforces Round #401 (Div. 2) D. Cloud of Hashtags(暴力)
D. Cloud of Hashtags time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Vasya is an administrator of a public page of organization “Mouse and原创 2017-02-25 10:03:39 · 889 阅读 · 0 评论 -
Codeforces Round #401 (Div. 2) A. Shell Game(模拟)
A. Shell Game time limit per test0.5 seconds memory limit per test256 megabytes inputstandard input outputstandard output Bomboslav likes to look out of the window in his room and watch lads outsi原创 2017-02-25 09:28:52 · 829 阅读 · 0 评论 -
Codeforces Round #401 (Div. 2) B. Game of Credit Cards(模拟)
B. Game of Credit Cards time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output After the fourth season Sherlock and Moriary have realized the who原创 2017-02-25 09:35:24 · 769 阅读 · 0 评论 -
Codeforces Round #401 (Div. 2) C. Alyona and Spreadsheet(暴力)
C. Alyona and Spreadsheet time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output During the lesson small girl Alyona works with one famous spreads原创 2017-02-25 09:47:22 · 1729 阅读 · 0 评论 -
Divide by Zero 2017 and Codeforces Round #399 (Div. 1 + Div. 2, combined) B. Code For 1(DFS好题)
B. Code For 1 time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Jon fought bravely to rescue the wildlings who were attacked by the white-wa原创 2017-02-24 11:52:23 · 526 阅读 · 0 评论 -
Divide by Zero 2017 and Codeforces Round #399 (Div. 1 + Div. 2, combined) A(贪心)
A. Oath of the Night’s Watch time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output “Night gathers, and now my watch begins. It shall not end unt原创 2017-02-24 11:47:00 · 510 阅读 · 0 评论 -
Codeforces Round #392 (Div. 2) B. Blown Garland(规律)
B. Blown Garland time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Nothing is eternal in the world, Kostya understood it on the 7-th of Janua原创 2017-02-22 19:02:37 · 403 阅读 · 0 评论 -
Codeforces Round #392 (Div. 2) A. Holiday Of Equality(水题)
A. Holiday Of Equality time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output In Berland it is the holiday of equality. In honor of the holiday th原创 2017-02-22 18:57:35 · 466 阅读 · 0 评论 -
Codeforces Round #387 (Div. 2)D. Winter Is Coming(复杂贪心)
D. Winter Is Coming time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output The winter in Berland lasts n days. For each day we know the forecast f原创 2016-12-19 20:38:03 · 528 阅读 · 0 评论 -
Codeforces Round #387 (Div. 2)C. Servers(模拟)
C. Servers time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output There are n servers in a laboratory, each of them can perform tasks. Each serve原创 2016-12-19 20:26:35 · 513 阅读 · 0 评论 -
Codeforces Round #387 (Div. 2)B. Mammoth's Genome Decoding(简单模拟)
B. Mammoth’s Genome Decoding time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output The process of mammoth’s genome decoding in Berland comes to i原创 2016-12-19 20:22:56 · 450 阅读 · 0 评论 -
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 · 748 阅读 · 0 评论 -
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 · 550 阅读 · 0 评论 -
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 · 512 阅读 · 0 评论 -
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 · 443 阅读 · 0 评论 -
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 · 1299 阅读 · 0 评论 -
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 · 311 阅读 · 0 评论 -
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 · 277 阅读 · 0 评论 -
Codeforces Round #367 (Div. 2) C. Hard problem(简单DP)
C. Hard problem time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vasiliy is fond of solving different tasks. Today he found one he wasn’t ab原创 2016-12-14 18:40:32 · 331 阅读 · 0 评论 -
Codeforces Round #367 (Div. 2) B. Interesting drink(二分)
B. Interesting drink time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Vasiliy likes to rest after a hard work, so you may often meet him in原创 2016-12-14 18:31:59 · 293 阅读 · 0 评论 -
Codeforces Round #367 (Div. 2) A. Beru-taxi(很水)
C. Pythagorean Triples time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Katya studies in a fifth grade. Recently her class studied right tri原创 2016-12-14 18:29:24 · 289 阅读 · 0 评论