# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1010687 | tarpent | Round words (IZhO13_rowords) | C++14 | 2 ms | 440 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
string a,b;
int m,pr,od;
int main(){
cin>>a>>b;
m=-1;
for(int i = 0; i<a.size(); i++){
for(int j = 0; j<b.size(); j++){
if(a[i]==b[j]) od++;
}
}
cout<<od;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |