We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b65791 commit 86d0e08Copy full SHA for 86d0e08
1829A - Love Story.cpp
@@ -0,0 +1,26 @@
1
+// ॐ नमः शिवाय
2
+#include<bits/stdc++.h>
3
+using namespace std;
4
+#define ll long long
5
+
6
+// Code Written By: Vikash Patel
7
+// Codeforces Profile: https://codeforces.com/profile/vikashpatel
8
9
+int main()
10
+{
11
+ int t;
12
+ cin>>t;
13
+ while(t--)
14
+ {
15
+ string s, c = "codeforces";
16
+ cin>>s;
17
+ int d = 0;
18
+ for(int i=0; i<10; i++)
19
20
+ if(s[i]!=c[i])
21
+ d++;
22
+ }
23
+ cout<<d<<endl;
24
25
+ return 0;
26
+}
0 commit comments