CF
Codeforces刷题
逃夭丶
你是我荒唐青春里唯一的认真
展开
-
Codeforces Round #616 (Div. 2) A. Even But Not Even
题目链接:https://codeforces.com/contest/1291/myoutputstandard outputLet’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 · 228 阅读 · 0 评论 -
CF 1295C Obtain The String
题目链接:https://codeforces.com/problemset/problem/1295/CYou 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 · 310 阅读 · 3 评论 -
CF 1295D Same GCDs
题目链接:https://codeforces.com/contest/1295/problem/DYou 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 · 270 阅读 · 2 评论 -
Codeforces Round #616 (Div. 2) C. Mind Control
题目链接:https://codeforces.com/contest/1291You 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 · 191 阅读 · 0 评论