Submission #50141495


Source Code Expand

#ABC340_20240210_A
A,B,D=map(int,input().split())
ans=[A]
while(ans[-1]!=B):
    ans.append(ans[-1]+D)
print(*ans)

Submission Info

Submission Time
Task A - Arithmetic Progression
User Konini
Language Python (PyPy 3.10-v7.3.12)
Score 100
Code Size 121 Byte
Status AC
Exec Time 57 ms
Memory 76804 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 12
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
random_01.txt AC 57 ms 76660 KiB
random_02.txt AC 55 ms 76496 KiB
random_03.txt AC 54 ms 76804 KiB
random_04.txt AC 54 ms 76248 KiB
random_05.txt AC 54 ms 76328 KiB
random_06.txt AC 55 ms 76648 KiB
random_07.txt AC 55 ms 76240 KiB
random_08.txt AC 55 ms 76632 KiB
random_09.txt AC 55 ms 76300 KiB
random_10.txt AC 56 ms 76312 KiB
sample_01.txt AC 56 ms 76296 KiB
sample_02.txt AC 55 ms 76260 KiB