摘要:
## Codeforces Round 873 (Div. 2) A~D2 ### A. Divisible Array 因为$1$一定整除,构造$a_i=i$,再让$a_1$加上和模$n$的余数 ```c++ void work() { int n; cin >> n; vector a(n + 阅读全文
posted @ 2023-05-21 17:14
xhy666
阅读(51)
评论(0)
推荐(0)
摘要:
## Educational Codeforces Round 148 (Rated for Div. 2) A~E ### A. New Palindrome 对于奇回文串不能统计中心的字符,然后判断是否有不同的字符 ```c++ void work() { string s; cin >> s; 阅读全文
posted @ 2023-05-21 17:13
xhy666
阅读(85)
评论(2)
推荐(0)