Submission #25452952


Source Code Expand

print(''.join('B'+'A'*int(c)for c in f'{int(input()):b}'))

Submission Info

Submission Time
Task C - Many Balls
User Pandruant
Language PyPy3 (7.3.0)
Score 300
Code Size 58 Byte
Status AC
Exec Time 60 ms
Memory 61840 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 300 / 300
Status
AC × 2
AC × 20
Set Name Test Cases
Sample example0.txt, example1.txt
All 000.txt, 001.txt, 002.txt, 003.txt, 004.txt, 005.txt, 006.txt, 007.txt, 008.txt, 009.txt, 010.txt, 011.txt, 012.txt, 013.txt, 014.txt, 015.txt, 016.txt, 017.txt, example0.txt, example1.txt
Case Name Status Exec Time Memory
000.txt AC 60 ms 61560 KiB
001.txt AC 48 ms 61800 KiB
002.txt AC 52 ms 61488 KiB
003.txt AC 51 ms 61636 KiB
004.txt AC 48 ms 61644 KiB
005.txt AC 47 ms 61744 KiB
006.txt AC 48 ms 61772 KiB
007.txt AC 49 ms 61800 KiB
008.txt AC 51 ms 61808 KiB
009.txt AC 50 ms 61512 KiB
010.txt AC 50 ms 61640 KiB
011.txt AC 50 ms 61800 KiB
012.txt AC 49 ms 61800 KiB
013.txt AC 47 ms 61840 KiB
014.txt AC 47 ms 61784 KiB
015.txt AC 50 ms 61616 KiB
016.txt AC 48 ms 61800 KiB
017.txt AC 46 ms 61624 KiB
example0.txt AC 48 ms 61728 KiB
example1.txt AC 48 ms 61772 KiB