### codeforces

2 已关注
56篇博文
• #### codeforces 804A. Find Amir（思维）

题目链接：  http://codeforces.com/problemset/problem/804/A题目大意：有编号为1~n的n个学校，且从编号为i的学校到编号为j的学校需要花费(i+j)%(n...

2018-03-13 13:05
36
• #### codeforces 367E. Sereja and Intervals（DP）

题目链接 http://codeforces.com/problemset/problem/367/E解题思路： 题意大意是给出一个区间，在这个区间内选n个L和R值，使得这n个L，R不能存在包含关系，...

2018-03-07 21:00
29
• #### codeforces 869B. The Eternal Immortality（思维）

题目链接 http://codeforces.com/problemset/problem/869/B解题思路：可以发现，只要a和b两个数之差超过9，那么最后一个数一定是‘0’，因此只要考虑两个数只差...

2018-03-13 13:15
33
• #### codeforces 918C. The Monster（思维）

题目链接 http://codeforces.com/problemset/problem/918/C解题思路：暴力枚举区间（i,j）是否合格，对于区间内的‘？’，先假设都为‘）’，对于不合适的就改为...

2018-03-13 13:27
47
• #### Codeforeces 703B Mishka and trip（路径权值的计算）

Little Mishka is a great traveller and she visited many countries. After thinking about where to tra...

2016-08-20 10:09
181
• #### codeforces-754A-Lesha and array splitting（简单分类处理）

Lesha and array splittingOne spring day on his way to university Lesha found an array A. Lesha likes...

2017-01-14 20:52
525
• #### Codeforces-754B-Ilya and tic-tac-toe game（简单模拟判断）

Ilya and tic-tac-toe gameIlya is an experienced player in tic-tac-toe on the 4 × 4 field. He always ...

2017-01-14 20:54
599
• #### Codeforces-743B-Chloe and the sequence（二进制思维题）

Chloe and the sequenceChloe, the same as Vladik, is a competitive programmer. She didn’t have any pr...

2017-01-14 20:58
287
• #### codeforces-755-B PolandBall and Game

PolandBall is playing a game with EnemyBall. The rules are simple. Players have to say words in turn...

2017-01-17 03:00
546
• #### codeforces-755D-PolandBall and Polygon（数学题）

PolandBall has such a convex polygon with n veritces that no three of its diagonals intersect at the...

2017-01-17 03:22
618
• #### codeforces-760-B Frodo and pillows（二分+数学）

n hobbits are planning to spend the night at Frodo’s house. Frodo has n beds standing in a row and m...

2017-01-25 17:44
460
• #### codeforces-758-B Blown Garland（简单数学）

Nothing is eternal in the world, Kostya understood it on the 7-th of January when he saw partially d...

2017-01-25 17:52
342
• #### codeforces-757-B Bash's Big Day（简单题）

Bash has set out on a journey to become the greatest Pokemon master. To get his first Pokemon, he we...

2017-01-25 18:00
468
• #### codeforces-762A k-th divisor（数学题）

You are given two integers n and k. Find k-th smallest divisor of n, or report that it doesn’t exist...

2017-01-26 00:50
754
• #### codeforce-762-B USB vs. PS/2（贪心）

Due to the increase in the number of students of Berland State University it was decided to equip a ...

2017-01-26 00:56
329
• #### coderforces-755-C PolandBall and Forest（简单并查集）

PolandBall lives in a forest with his family. There are some trees in the forest. Trees are undirect...

2017-01-31 20:14
338
• #### codeforces-678-C. Joty and Chocolate（数学）

Little Joty has got a task to do. She has a line of n tiles indexed from 1 to n. She has to paint th...

2017-02-02 01:44
378
• #### codeforces-626-B. Cards（简单模拟）

Catherine has a deck of n cards, each of which is either red, green, or blue. As long as there are a...

2017-02-02 02:18
126
• #### codefores 785B. Anton and Classes（排序）

Anton likes to play chess. Also he likes to do programming. No wonder that he decided to attend ches...

2017-03-16 22:50
376
• #### codeforces 785C. Anton and Fairy Tale（二分）

Anton likes to listen to fairy tales, especially when Danik, Anton’s best friend, tells them. Right ...

2017-03-16 22:57
788