From 985bd1e6742b97d019179294ec2258b056a7895c Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sat, 25 Jun 2022 20:02:16 +0800 Subject: [PATCH] A - A to Z String 2 https://atcoder.jp/contests/abc257/submissions/32708032 --- AtCoder/ABC257/A/A.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 AtCoder/ABC257/A/A.cpp diff --git a/AtCoder/ABC257/A/A.cpp b/AtCoder/ABC257/A/A.cpp new file mode 100644 index 00000000..1a3afdd2 --- /dev/null +++ b/AtCoder/ABC257/A/A.cpp @@ -0,0 +1,18 @@ +#include + +using std::cin; +using std::cout; +const char endl = '\n'; + +int n, k; + +int main() { + std::ios::sync_with_stdio(false); + cin.tie(nullptr); + + cin >> n >> k; + + cout << char('A' + (k - 1) / n) << endl; + + return 0; +}