随笔分类 -  模拟

摘要:Description Programmers' kids solve this riddle in 5-10 minutes. How fast can you do it? Programmers' kids solve this riddle in 5-10 minutes. How fast 阅读全文
posted @ 2017-04-02 20:50 樱花落舞 阅读(248) 评论(0) 推荐(0) 编辑
摘要:A - Remaining Time Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement Dolphin loves programming contests. Today, he will ta 阅读全文
posted @ 2017-03-31 19:24 樱花落舞 阅读(1045) 评论(0) 推荐(0) 编辑
摘要:Description T is a complete binary tree consisting of n vertices. It means that exactly one vertex is a root, and each vertex is either a leaf (and do 阅读全文
posted @ 2017-03-29 21:33 樱花落舞 阅读(311) 评论(0) 推荐(0) 编辑
摘要:Description n children are standing in a circle and playing the counting-out game. Children are numbered clockwise from 1 to n. In the beginning, the 阅读全文
posted @ 2017-03-29 21:25 樱花落舞 阅读(384) 评论(0) 推荐(0) 编辑
摘要:Description There are n cities situated along the main road of Berland. Cities are represented by their coordinates — integer numbers a1, a2, ..., an. 阅读全文
posted @ 2017-03-29 20:42 樱花落舞 阅读(264) 评论(0) 推荐(0) 编辑
摘要:Description One of Timofey's birthday presents is a colourbook in a shape of an infinite plane. On the plane n rectangles with sides parallel to coord 阅读全文
posted @ 2017-03-22 21:39 樱花落舞 阅读(237) 评论(0) 推荐(0) 编辑
摘要:Description Each New Year Timofey and his friends cut down a tree of n vertices and bring it home. After that they paint all the n its vertices, so th 阅读全文
posted @ 2017-03-22 21:18 樱花落舞 阅读(265) 评论(0) 推荐(0) 编辑
摘要:Description Young Timofey has a birthday today! He got kit of n cubes as a birthday present from his parents. Every cube has a number ai, which is wri 阅读全文
posted @ 2017-03-22 21:02 樱花落舞 阅读(261) 评论(0) 推荐(0) 编辑
摘要:Description Comrade Dujikov is busy choosing artists for Timofey's birthday and is recieving calls from Taymyr from Ilia-alpinist. Ilia-alpinist calls 阅读全文
posted @ 2017-03-22 20:54 樱花落舞 阅读(213) 评论(0) 推荐(0) 编辑
摘要:Description Recently Pashmak has been employed in a transportation company. The company has kbuses and has a contract with a school which has n studen 阅读全文
posted @ 2017-03-19 20:14 樱花落舞 阅读(218) 评论(0) 推荐(0) 编辑
摘要:Description Pashmak decided to give Parmida a pair of flowers from the garden. There are n flowers in the garden and the i-th of them has a beauty num 阅读全文
posted @ 2017-03-19 20:05 樱花落舞 阅读(187) 评论(0) 推荐(0) 编辑
摘要:In this problem you are to calculate the sum of all integers from 1 to n, but you should take all powers of two with minus in the sum. For example, fo 阅读全文
posted @ 2016-09-07 22:21 樱花落舞 阅读(226) 评论(0) 推荐(0) 编辑
摘要:A. Uncowed Forces time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Uncowed Forces time 阅读全文
posted @ 2015-12-02 08:28 樱花落舞 阅读(394) 评论(0) 推荐(0) 编辑
摘要:A. Divisibility time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Divisibility time limi 阅读全文
posted @ 2015-11-25 21:59 樱花落舞 阅读(178) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示