摘要: C. Inna and Candy Boxes Inna loves sweets very much. She has n closed present boxes lines up in a row in front of her. Each of these boxes contains ei 阅读全文
posted @ 2016-10-04 21:20 meekyan 阅读(274) 评论(0) 推荐(0) 编辑
摘要: Sequence I Problem Description Mr. Frog has two sequences a1,a2,⋯,an and b1,b2,⋯,bm and a number p. He wants to know the number of positions q such th 阅读全文
posted @ 2016-10-04 20:29 meekyan 阅读(280) 评论(0) 推荐(0) 编辑
摘要: Sequence II Problem Description Mr. Frog has an integer sequence of length n, which can be denoted as a1,a2,⋯,an There are m queries.In the i-th query 阅读全文
posted @ 2016-10-04 20:23 meekyan 阅读(1194) 评论(0) 推荐(3) 编辑