随笔分类 -  数论

摘要:题目链接:http://codeforces.com/problemset/problem/1144/E 题意:给两个字符串,第一个字符串小于第二个字符串,求大于等于第一个字符串小于等于第二个字符串的所有字符串的中间的字符串。 思路:一开始我觉得这个题好难啊,如果一个一个求,用for循环求,真的求不 阅读全文
posted @ 2019-07-30 14:52 小小笼包包 阅读(138) 评论(0) 推荐(0)
摘要:题目链接:http://codeforces.com/problemset/problem/1144/D 题目: You are given an array a consisting of n integers. You can perform the following operations a 阅读全文
posted @ 2019-07-27 16:27 小小笼包包 阅读(111) 评论(0) 推荐(0)
摘要:题目链接: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 阅读全文
posted @ 2019-07-25 14:58 小小笼包包 阅读(113) 评论(0) 推荐(0)
摘要:题目链接:http://codeforces.com/problemset/problem/1141/E 题目 A superhero fights with a monster. The battle consists of rounds, each of which lasts exactly 阅读全文
posted @ 2019-07-25 14:49 小小笼包包 阅读(97) 评论(0) 推荐(0)