Submission #32708173


Source Code Expand

#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;
}

Submission Info

Submission Time
Task A - A to Z String 2
User Cavalier23
Language C++ (Clang 10.0.0)
Score 100
Code Size 383 Byte
Status AC
Exec Time 9 ms
Memory 3224 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 10
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 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