aboutsummaryrefslogtreecommitdiff
path: root/codeforces/yesOrYes
diff options
context:
space:
mode:
Diffstat (limited to 'codeforces/yesOrYes')
-rwxr-xr-xcodeforces/yesOrYes/mainbin0 -> 24208 bytes
-rw-r--r--codeforces/yesOrYes/main.cpp23
-rw-r--r--codeforces/yesOrYes/main_input0.txt11
-rw-r--r--codeforces/yesOrYes/main_output0.txt10
4 files changed, 44 insertions, 0 deletions
diff --git a/codeforces/yesOrYes/main b/codeforces/yesOrYes/main
new file mode 100755
index 0000000..77ce258
--- /dev/null
+++ b/codeforces/yesOrYes/main
Binary files differ
diff --git a/codeforces/yesOrYes/main.cpp b/codeforces/yesOrYes/main.cpp
new file mode 100644
index 0000000..b4b6954
--- /dev/null
+++ b/codeforces/yesOrYes/main.cpp
@@ -0,0 +1,23 @@
+#include<bits/stdc++.h>
+#include <cctype>
+
+using namespace std;
+
+int main () {
+ ios_base::sync_with_stdio(false);
+ cin.tie(NULL);
+ int tt;
+ cin >> tt;
+ while(tt--){
+ string s;
+ cin >> s;
+ for(auto &c : s){
+ c = tolower(c);
+ }
+ if(s == "yes") {
+ cout << "YES" << endl;
+ } else {
+ cout << "NO" << endl;
+ }
+ }
+}
diff --git a/codeforces/yesOrYes/main_input0.txt b/codeforces/yesOrYes/main_input0.txt
new file mode 100644
index 0000000..b6e9152
--- /dev/null
+++ b/codeforces/yesOrYes/main_input0.txt
@@ -0,0 +1,11 @@
+10
+YES
+yES
+yes
+Yes
+YeS
+Noo
+orZ
+yEz
+Yas
+XES
diff --git a/codeforces/yesOrYes/main_output0.txt b/codeforces/yesOrYes/main_output0.txt
new file mode 100644
index 0000000..1f336ce
--- /dev/null
+++ b/codeforces/yesOrYes/main_output0.txt
@@ -0,0 +1,10 @@
+YES
+YES
+YES
+YES
+YES
+NO
+NO
+NO
+NO
+NO