virtual_system
virtual_system
全部文章
分类
题解(18)
归档
标签
去牛客网
登录
/
注册
virtual_system的博客
全部文章
(共1篇)
题解 | #找出字符串中第一个只出现一次的字符# 计数数组统计出现次数
注意题目并没有限制字符串中所有字符均为字母,所以要考虑到所有字符的情况。 #include<bits/stdc++.h> using namespace std; const int N =1010; int cnt[N]; int main() { string s; ...
计数数组
2021-06-09
0
375