随笔分类 - 数论
摘要:题目链接:http://codeforces.com/problemset/problem/1144/E 题意:给两个字符串,第一个字符串小于第二个字符串,求大于等于第一个字符串小于等于第二个字符串的所有字符串的中间的字符串。 思路:一开始我觉得这个题好难啊,如果一个一个求,用for循环求,真的求不
阅读全文
摘要:题目链接:http://codeforces.com/problemset/problem/1144/D 题目: You are given an array a consisting of n integers. You can perform the following operations a
阅读全文
摘要:题目链接:http://codeforces.com/problemset/problem/1141/C 题目 An array of integers p1,p2,…,pn is called a permutation if it contains each number from 1 to n
阅读全文
摘要:题目链接:http://codeforces.com/problemset/problem/1141/E 题目 A superhero fights with a monster. The battle consists of rounds, each of which lasts exactly
阅读全文

浙公网安备 33010602011771号