摘要:
2024牛客寒假算法基础集训营3 A.智乃与瞩目狸猫、幸运水母、月宫龙虾 思路:就是一个简单的字符串 #include <bits/stdc++.h> using namespace std; void solve(){ string a,b; cin>>a>>b; if(a[0]==b[0]||a 阅读全文
摘要:
2024牛客寒假算法基础集训营2 A.Tokitsukaze and Bracelet 签到题,就不多赘述 #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; for (int i = 0; i < 阅读全文