Submission #32709371
Source Code Expand
#include<iostream>
using namespace std;
int N, X;
int main() {
cin >> N >> X;
cout << (char)('A' + (((X + N - 1) / N) - 1)) << endl;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - A to Z String 2 |
| User | NoKmono |
| Language | C++ (GCC 9.2.1) |
| Score | 100 |
| Code Size | 150 Byte |
| Status | AC |
| Exec Time | 5 ms |
| Memory | 3636 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00_sample_01.txt, 00_sample_02.txt |
| All | 00_sample_01.txt, 00_sample_02.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_01.txt | AC | 5 ms | 3604 KiB |
| 00_sample_02.txt | AC | 2 ms | 3552 KiB |
| 01_random_01.txt | AC | 1 ms | 3580 KiB |
| 01_random_02.txt | AC | 2 ms | 3384 KiB |
| 01_random_03.txt | AC | 2 ms | 3572 KiB |
| 01_random_04.txt | AC | 1 ms | 3580 KiB |
| 01_random_05.txt | AC | 2 ms | 3436 KiB |
| 01_random_06.txt | AC | 5 ms | 3548 KiB |
| 01_random_07.txt | AC | 2 ms | 3548 KiB |
| 01_random_08.txt | AC | 2 ms | 3636 KiB |