mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-24 17:51:58 +00:00
A - A to Z String 2
https://atcoder.jp/contests/abc257/submissions/32708032
This commit is contained in:
parent
83f81f49ee
commit
985bd1e674
18
AtCoder/ABC257/A/A.cpp
Normal file
18
AtCoder/ABC257/A/A.cpp
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user