1 条题解
-
0
#include<bits/stdc++.h> typedef long long ll, LL; using namespace std; #define pb push_back void solve() { string s1, s2 = "codeforces"; int ans = 0; cin >> s1; for(int i = 0; i < 10; i++) { if(s1[i] != s2[i]) ans++; } cout << ans << endl; } int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); int t = 1; cin >> t; while(t--) { solve(); } return 0; }
信息
- ID
- 1652
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 5
- 标签
- 提交数
- 65
- 已通过
- 27
- 上传者