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 aebf1f8 commit b4b254fCopy full SHA for b4b254f
solutions/beecrowd/3224/3224.cpp
@@ -0,0 +1,22 @@
1
+#include <cstdint>
2
+#include <iostream>
3
+#include <string>
4
+
5
+int main() {
6
+ std::ios_base::sync_with_stdio(false);
7
+ std::cin.tie(0);
8
9
+ std::string doctor_request, actual_ah;
10
11
+ while (std::cin >> actual_ah) {
12
+ std::cin >> doctor_request;
13
14
+ if (doctor_request.length() > actual_ah.length()) {
15
+ std::cout << "no" << "\n";
16
+ } else {
17
+ std::cout << "go" << "\n";
18
+ }
19
20
21
+ return 0;
22
+}
0 commit comments