扩大
缩小
摘要: J - Period For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whe 阅读全文
posted @ 2019-07-22 16:33 through-the-night 阅读(150) 评论(0) 推荐(0)
摘要: I - Supermarket A supermarket has a set Prod of products on sale. It earns a profit px for each product x∈Prod sold by a deadline dx that is measured 阅读全文
posted @ 2019-07-22 16:12 through-the-night 阅读(178) 评论(0) 推荐(0)
摘要: A - Count the Colors Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones. Your task 阅读全文
posted @ 2019-07-22 15:57 through-the-night 阅读(152) 评论(0) 推荐(0)
摘要: L - Tickets (dp) Jesus, what a great movie! Thousands of people are rushing to the cinema. However, this is really a tuff time for Joe who sells the f 阅读全文
posted @ 2019-07-22 15:41 through-the-night 阅读(124) 评论(0) 推荐(0)