Educational Codeforces Round 127 (Rated for Div. 2)
Educational Codeforces Round 127 (Rated for Div. 2)
比赛链接
A.String Building
题意: 给定字符串s,问s能否由aa、aaa、bb、bbb四种字符串构成
思路: 不能出现单个a或者单个b
AC代码:
#include <iostream>
#include <bits/stdc++.h>
#define x first
#define y second
#define int long long
#define
原创
2022-04-30 10:12:53 ·
396 阅读 ·
1 评论