提出 #32708173
ソースコード 拡げる
#include<cstdio>
#define N 200005
#define re
#define ll long long
#define P 998244353
using namespace std;
int n,m,K,q,T;
inline void Rd(int &res){
re char c;res=0;
while(c=getchar(),c<48);
do res=(res<<3)+(res<<1)+(c^48);
while(c=getchar(),c>47);
}
int main(){
Rd(n),Rd(m);
int res=0;
while(m>n){
m-=n;res++;
}
printf("%c\n",res+'A');
return 0;
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - A to Z String 2 |
| ユーザ | Cavalier23 |
| 言語 | C++ (Clang 10.0.0) |
| 得点 | 100 |
| コード長 | 383 Byte |
| 結果 | AC |
| 実行時間 | 9 ms |
| メモリ | 3224 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| 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 |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 00_sample_01.txt | AC | 9 ms | 2832 KiB |
| 00_sample_02.txt | AC | 4 ms | 2972 KiB |
| 01_random_01.txt | AC | 3 ms | 3224 KiB |
| 01_random_02.txt | AC | 2 ms | 2928 KiB |
| 01_random_03.txt | AC | 2 ms | 2964 KiB |
| 01_random_04.txt | AC | 2 ms | 2832 KiB |
| 01_random_05.txt | AC | 2 ms | 2832 KiB |
| 01_random_06.txt | AC | 2 ms | 2924 KiB |
| 01_random_07.txt | AC | 2 ms | 2828 KiB |
| 01_random_08.txt | AC | 2 ms | 3096 KiB |