From 3cabda8654cc2a0d26138e51cc54df162b91a5a8 Mon Sep 17 00:00:00 2001 From: Ren Baoshuo Date: Sun, 12 Sep 2021 07:50:01 +0800 Subject: [PATCH] A - Weather Forecast https://atcoder.jp/contests/abc218/submissions/25797324 --- AtCoder/ABC218/A/A.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 AtCoder/ABC218/A/A.cpp diff --git a/AtCoder/ABC218/A/A.cpp b/AtCoder/ABC218/A/A.cpp new file mode 100644 index 00000000..b61d227f --- /dev/null +++ b/AtCoder/ABC218/A/A.cpp @@ -0,0 +1,12 @@ +#include + +using namespace std; + +int n; +char s[10]; + +int main() { + cin >> n >> s + 1; + cout << (s[n] == 'o' ? "Yes" : "No") << endl; + return 0; +}