
CF
Codeforces刷题
逃夭丶
你是我荒唐青春里唯一的认真
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces Round #616 (Div. 2) A. Even But Not Even
题目链接:https://codeforces.com/contest/1291/my outputstandard output Let’s define a number ebne (even but not even) if and only if its sum of digits is divisible by 2 but the number itself is not divisib...原创 2020-02-03 14:27:01 · 277 阅读 · 0 评论 -
CF 1295C Obtain The String
题目链接:https://codeforces.com/problemset/problem/1295/C You are given two strings s and t consisting of lowercase Latin letters. Also you have a string z which is initially empty. You want string z to b...原创 2020-01-31 17:44:23 · 392 阅读 · 3 评论 -
CF 1295D Same GCDs
题目链接:https://codeforces.com/contest/1295/problem/D You are given two integers a and m. Calculate the number of integers x such that 0≤x<m and gcd(a,m)=gcd(a+x,m). Note: gcd(a,b) is the greatest com...原创 2020-01-31 22:43:34 · 341 阅读 · 2 评论 -
Codeforces Round #616 (Div. 2) C. Mind Control
题目链接:https://codeforces.com/contest/1291 You and your n−1 friends have found an array of integers a1,a2,…,an. You have decided to share it in the following way: All n of you stand in a line in a parti...原创 2020-02-03 14:17:47 · 240 阅读 · 0 评论