上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 28 下一页

2015年12月29日

codeforces 612A The Text Splitting(扩展欧几里得)

摘要: A. The Text SplittingYou are given the stringsof lengthnand the numbersp, q. Split the stringsto pieces of lengthpandq.For example, the string "Hello"... 阅读全文

posted @ 2015-12-29 18:19 焰 阅读(193) 评论(0) 推荐(0) 编辑

2015年12月5日

UVA 11235 Frequent values

摘要: Frequent valuesYou are given a sequence ofnintegersa1, a2, ... , anin non-decreasing order. In addition to that, you are given several queries consist... 阅读全文

posted @ 2015-12-05 17:39 焰 阅读(181) 评论(0) 推荐(0) 编辑

2015年12月3日

codeforces 603A Alternative Thinking

该文被密码保护。 阅读全文

posted @ 2015-12-03 21:49 焰 阅读(26) 评论(0) 推荐(0) 编辑

2015年12月2日

codeforces 604A Uncowed Forces

摘要: A. Uncowed ForcesKevin Sun has just finished competing in Codeforces Round #334! The round was 120 minutes long and featured five problems with maximu... 阅读全文

posted @ 2015-12-02 15:29 焰 阅读(237) 评论(0) 推荐(0) 编辑

2015年11月28日

nyoj 138 找球号(二)

摘要: 找球号(二)描述在某一国度里流行着一种游戏。游戏规则为:现有一堆球中,每个球上都有一个整数编号i(0#include#include#include#includeusing namespace std;int a[3300500];void add(int n){ int x=n/32; ... 阅读全文

posted @ 2015-11-28 16:58 焰 阅读(194) 评论(0) 推荐(0) 编辑

codeforces 592A PawnChess

摘要: A. PawnChessGalois is one of the strongest chess players of Byteforces. He has even invented a new variant of chess, which he named «PawnChess».This n... 阅读全文

posted @ 2015-11-28 14:59 焰 阅读(198) 评论(0) 推荐(0) 编辑

cidefirces Educational Codeforces Round 2 A. Extract Numbers

摘要: A. Extract NumbersYou are given string s. Let's call word any largest sequence of consecutive symbols without symbols ',' (comma) and ';' (semicolon).... 阅读全文

posted @ 2015-11-28 10:05 焰 阅读(223) 评论(0) 推荐(0) 编辑

cidefirces Educational Codeforces Round 2 B Queries about less or equal elements

摘要: B. Queries about less or equal elementsYou are given two arrays of integers a and b. For each element of the second array bj you should find the numbe... 阅读全文

posted @ 2015-11-28 09:22 焰 阅读(191) 评论(0) 推荐(0) 编辑

codeforces Educational Codeforces Round 2 C Make Palindrome

摘要: C. Make PalindromeA string is called palindrome if it reads the same from left to right and from right to left. For example "kazak", "oo", "r" and "mi... 阅读全文

posted @ 2015-11-28 09:19 焰 阅读(168) 评论(0) 推荐(0) 编辑

2015年11月27日

codeforces 577B Modulo Sum

摘要: B. Modulo SumYou are given a sequence of numbers a1, a2, ..., an, and a number m.Check if it is possible to choose a non-empty subsequence aij such th... 阅读全文

posted @ 2015-11-27 17:37 焰 阅读(223) 评论(0) 推荐(0) 编辑

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 28 下一页

导航