摘要: Aaah! Aaah! Aaah! Photo by Unknown Jon Marius shouted too much at the recent Justin Bieber concert, and now needs to go to the doctor because of his s 阅读全文
posted @ 2017-01-14 18:33 April_AA 阅读(393) 评论(0) 推荐(0) 编辑
摘要: Fenwick Tree Fenwick Tree Fenwick Tree Input The first line of input contains two integers NN, QQ, where 1≤N≤50000001≤N≤5000000 is the length of the a 阅读全文
posted @ 2017-01-14 18:31 April_AA 阅读(317) 评论(0) 推荐(0) 编辑
摘要: Biased Standings Biased Standings Biased Standings Usually, results of competitions are based on the scores of participants. However, we are planning 阅读全文
posted @ 2017-01-14 18:22 April_AA 阅读(365) 评论(0) 推荐(0) 编辑
摘要: Bus Numbers Bus Numbers Bus Numbers Your favourite public transport company LS (we cannot use their real name here, so we permuted the letters) wants 阅读全文
posted @ 2017-01-14 18:20 April_AA 阅读(526) 评论(0) 推荐(0) 编辑
摘要: Peragrams Peragrams Peragrams Photo by Ross Beresford Per recently learned about palindromes. Now he wants to tell us about it and also has more aweso 阅读全文
posted @ 2017-01-14 18:10 April_AA 阅读(323) 评论(0) 推荐(0) 编辑