Untitled
unknown
plain_text
a year ago
260 B
6
Indexable
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin>>n;
for(int i = 0; i < n; ++i){
string s1;
cin>>s1;
string s2;
cin>>s2;
if(s1[i] == s2[i]){
cout<<"YES";
}else {
cout<<"NO";
}
}
}
Editor is loading...
Leave a Comment