上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 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 阅读(366) 评论(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 阅读(328) 评论(0) 推荐(0) 编辑
摘要: Babelfish Babelfish Babelfish You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language 阅读全文
posted @ 2017-01-13 21:15 April_AA 阅读(297) 评论(0) 推荐(1) 编辑
摘要: I Can Guess the Data Structure! I Can Guess the Data Structure! I Can Guess the Data Structure! There is a bag-like data structure, supporting two ope 阅读全文
posted @ 2017-01-13 21:10 April_AA 阅读(597) 评论(0) 推荐(0) 编辑
摘要: Eight Queens Eight Queens Eight Queens In the game of chess, the queen is a powerful piece. It can attack by moving any number of spaces in its curren 阅读全文
posted @ 2017-01-13 21:07 April_AA 阅读(425) 评论(0) 推荐(0) 编辑
摘要: String Matching String Matching String Matching Input The input consists of several test cases. Each test case consists of two lines, first a non-empt 阅读全文
posted @ 2017-01-13 21:02 April_AA 阅读(750) 评论(0) 推荐(0) 编辑
摘要: CD CD CD Jack and Jill have decided to sell some of their Compact Discs, while they still have some value. They have decided to sell one of each of th 阅读全文
posted @ 2017-01-13 20:38 April_AA 阅读(469) 评论(0) 推荐(0) 编辑
摘要: Speed Limit Speed Limit Speed Limit Bill and Ted are taking a road trip. But the odometer in their car is broken, so they don’t know how many miles th 阅读全文
posted @ 2017-01-13 20:36 April_AA 阅读(229) 评论(0) 推荐(0) 编辑
摘要: How Many Digits? How Many Digits? How Many Digits? Often times it is sufficient to know the rough size of a number, rather than its exact value. For e 阅读全文
posted @ 2017-01-12 20:09 April_AA 阅读(511) 评论(0) 推荐(0) 编辑
摘要: Virtual Friends Virtual Friends Virtual Friends These days, you can do all sorts of things online. For example, you can use various websites to make v 阅读全文
posted @ 2017-01-12 20:06 April_AA 阅读(336) 评论(0) 推荐(0) 编辑
摘要: ACM Contest Scoring ACM Contest Scoring ACM Contest Scoring Our new contest submission system keeps a chronological log of all submissions made by eac 阅读全文
posted @ 2017-01-12 20:03 April_AA 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Backspace Backspace Backspace Bjarki having trouble Shortly before the programming contest started, Bjarki decided to update his computer. He didn’t n 阅读全文
posted @ 2017-01-12 19:58 April_AA 阅读(625) 评论(0) 推荐(0) 编辑
摘要: Association for Computing Machinery Association for Computing Machinery Association for Computing Machinery ACM (Association for Computing Machinery) 阅读全文
posted @ 2017-01-12 19:55 April_AA 阅读(286) 评论(0) 推荐(0) 编辑
摘要: Mixed Fractions Mixed Fractions Mixed Fractions You are part of a team developing software to help students learn basic mathematics. You are to write 阅读全文
posted @ 2017-01-12 19:44 April_AA 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Bela Bela Bela Young Mirko is a smart, but mischievous boy who often wanders around parks looking for new ideas. This time he’s come across pensioners 阅读全文
posted @ 2017-01-12 19:42 April_AA 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 时间限制:10000ms单点时限:1000ms内存限制:256MB 描述 We say a string is beautiful if it has the equal amount of 3 or more continuous letters (in increasing order.)Her 阅读全文
posted @ 2017-01-12 19:30 April_AA 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 时间限制:10000ms单点时限:1000ms内存限制:256MB 描述 Consider a binary watch with 5 binary digits to display hours (00 - 23) and 6 binary digits to display minutes (0 阅读全文
posted @ 2017-01-12 19:17 April_AA 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 Given a string of balanced parentheses output all the matching pairs. 输入 A string consisting of only parenthese 阅读全文
posted @ 2017-01-11 19:43 April_AA 阅读(338) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页