上一页 1 2 3 4 5 6 ··· 15 下一页
摘要: Greg has an array a = a1, a2, ..., an and m operations. Each operation looks as: li, ri, di, (1 ≤ li ≤ ri ≤ n). To apply operation i to the array mean 阅读全文
posted @ 2017-09-27 13:59 Crutain 阅读(267) 评论(0) 推荐(0) 编辑
摘要: Kyoya Ootori has a bag with n colored balls that are colored with k different colors. The colors are labeled from 1 to k. Balls of the same color are 阅读全文
posted @ 2017-09-21 19:48 Crutain 阅读(209) 评论(0) 推荐(0) 编辑
摘要: The Bitlandians are quite weird people. They have very peculiar customs. As is customary, Uncle J. wants to have n eggs painted for Bitruz (an ancient 阅读全文
posted @ 2017-09-21 19:09 Crutain 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Mahmoud and Ehab are on the third stage of their adventures now. As you know, Dr. Evil likes sets. This time he won't show them any set from his large 阅读全文
posted @ 2017-09-20 09:44 Crutain 阅读(172) 评论(0) 推荐(0) 编辑
摘要: The GCD table G of size n × n for an array of positive integers a of length n is defined by formula Let us remind you that the greatest common divisor 阅读全文
posted @ 2017-09-18 12:08 Crutain 阅读(175) 评论(0) 推荐(0) 编辑
摘要: A tourist hiked along the mountain range. The hike lasted for n days, during each day the tourist noted height above the sea level. On the i-th day he 阅读全文
posted @ 2017-09-13 22:25 Crutain 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Helen works in Metropolis airport. She is responsible for creating a departure schedule. There are n flights that must depart today, the i-th of them 阅读全文
posted @ 2017-09-08 10:36 Crutain 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Two soldiers are playing a game. At the beginning first of them chooses a positive integer n and gives it to the second soldier. Then the second one t 阅读全文
posted @ 2017-09-06 19:54 Crutain 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Since the giant heads have appeared in the sky all humanity is in danger, so all Ricks and Mortys from all parallel universes are gathering in groups 阅读全文
posted @ 2017-09-04 15:47 Crutain 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Waking up in the morning, Apollinaria decided to bake cookies. To bake one cookie, she needs n ingredients, and for each ingredient she knows the valu 阅读全文
posted @ 2017-09-03 13:25 Crutain 阅读(297) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 15 下一页