CodeMan
Home
Uva
AtCoder
Codechef
Codeforce
Hackerrank
LeetCode
Devskill
TopCoder
Spoj
Algorithm
Python3
Hackerearth
Uri
C++
Data Structure
Sunday, March 26, 2017
Uri 2510 - Batmain
#
include
<
bits/stdc++.h
>
using
namespace
std
;
int main() {
int n;
string s;
cin >> n;
while(n--) {
cin >> s;
cout << ((s != "Batman") ? "Y" : "N") << endl;
}
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment