0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-25 07:51:58 +00:00

A - A to Z String 2

https://atcoder.jp/contests/abc257/submissions/32708032
This commit is contained in:
Baoshuo Ren 2022-06-25 20:02:16 +08:00
parent 83f81f49ee
commit 985bd1e674
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

18
AtCoder/ABC257/A/A.cpp Normal file
View File

@ -0,0 +1,18 @@
#include <iostream>
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;
}