问题 G: Boxes and Candies 题目描述 There are N boxes arranged in a row. Initially, the i-th box from the left contains ai candies.Snuke can perform the foll ...
分类:
其他好文 时间:
2018-05-27 14:47:12
阅读次数:
149
Farmer John knows that an intellectually satisfied cow is a happy cow who will give more milk. He has arranged a brainy activity for cows in which the ...
分类:
其他好文 时间:
2018-04-30 01:03:46
阅读次数:
229
Farmer John knows that an intellectually satisfied cow is a happy cow who will give more milk. He has arranged a brainy activity for cows in which the ...
分类:
其他好文 时间:
2018-04-20 22:02:37
阅读次数:
221
DreamGrid City is a city with intersections arranged into a grid of rows and columns. The intersection on the -th row and the -th column can be descri ...
分类:
其他好文 时间:
2018-04-09 21:48:45
阅读次数:
292
N couples sit in 2N seats arranged in a row and want to hold hands. We want to know the minimum number of swaps so that every couple is sitting side b ...
分类:
其他好文 时间:
2018-04-04 14:51:08
阅读次数:
445
Petya and Vasya arranged a game. The game runs by the following rules. Players have a directed graph consisting of n vertices and m edges. One of the ...
分类:
其他好文 时间:
2018-03-08 23:00:15
阅读次数:
340
Diciption Let's consider m apples divided into n groups. Each group contains no more than 100 apples, arranged in a line. You can take any number of c ...
题目描述:Checker Challenge 1000(ms) 10000(kb) 20 / 90 Examine the 6x6 checkerboard below and note that the six checkers are arranged on the board so that ...
分类:
其他好文 时间:
2018-03-04 19:58:50
阅读次数:
162
题目链接:http://codeforces.com/problemset/problem/936/B 题目: Petya and Vasya arranged a game. The game runs by the following rules. Players have a directed ...
分类:
其他好文 时间:
2018-03-03 00:37:26
阅读次数:
343
传送门 Time limit : 4sec / Memory limit : 256MB Score : 1600 points Problem Statement There are N(N+1)?2 dots arranged to form an equilateral triangle wh ...
分类:
其他好文 时间:
2018-02-13 16:45:36
阅读次数:
206