2021/11/21 ICPC沈阳站个人题解B,E,F,J(附赛时记录,另附赛后补题代码I,M)小作文 :
E.Edward Gaming, the Champion题目大意:给定一个全是小写字符的字符串,找出有几个为 edgnb 的字串。题解:暴力模拟即可。#include <bits/stdc++.h>#define int long longusing namespace std;int n,m,ans;void solve(){ string s; cin>>s; string sr="edgnb";