摘要: There are nn points on a coordinate axis OXOX . The ii -th point is located at the integer point xixi and has a speed vivi . It is guaranteed that no 阅读全文
posted @ 2020-03-09 10:17 BlueValentines 阅读(368) 评论(0) 推荐(0)
摘要: You are given two integers nn and dd . You need to construct a rooted binary tree consisting of nn vertices with a root at the vertex 11 and the sum o 阅读全文
posted @ 2020-03-09 10:13 BlueValentines 阅读(455) 评论(0) 推荐(0)
摘要: You are given three integers a≤b≤ca≤b≤c . In one move, you can add +1+1 or −1−1 to any of these integers (i.e. increase or decrease any number by one) 阅读全文
posted @ 2020-03-09 10:07 BlueValentines 阅读(508) 评论(0) 推荐(0)