首页 > 小红的子序列权值和
头像 GhostLX
发表于 2024-03-03 21:44:02
博客原题解地址:https://zhuanlan.zhihu.com/p/685066445 A 输出s.substr(0, len)和s.substr(len, len)即可。 #include <bits/stdc++.h> using namespace std; #define 展开全文
头像 smilences
发表于 2024-03-03 22:11:57
from collections import Counter n = int(input()) C = Counter(map(int,input().split())) a,b,c = C[1],C[2], 展开全文

等你来战

查看全部