Submission #47000301


Source Code Expand

Copy
#ABC326_B_20231028
N=int(input())
for i in range(N,1000):
S=str(i)
if(int(S[0])*int(S[1])==int(S[2])):
exit(print(i))
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#ABC326_B_20231028
N=int(input())
for i in range(N,1000):
    S=str(i)
    if(int(S[0])*int(S[1])==int(S[2])):
        exit(print(i))

Submission Info

Submission Time
Task B - 326-like Numbers
User Konini
Language Python (PyPy 3.10-v7.3.12)
Score 200
Code Size 140 Byte
Status AC
Exec Time 56 ms
Memory 76660 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 15
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.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, random_11.txt, random_12.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
random_01.txt AC 56 ms 76596 KB
random_02.txt AC 56 ms 76584 KB
random_03.txt AC 56 ms 76660 KB
random_04.txt AC 56 ms 76348 KB
random_05.txt AC 56 ms 76224 KB
random_06.txt AC 56 ms 76576 KB
random_07.txt AC 56 ms 76456 KB
random_08.txt AC 55 ms 76308 KB
random_09.txt AC 55 ms 76516 KB
random_10.txt AC 55 ms 76388 KB
random_11.txt AC 56 ms 76532 KB
random_12.txt AC 55 ms 76400 KB
sample_01.txt AC 55 ms 76360 KB
sample_02.txt AC 56 ms 76368 KB
sample_03.txt AC 55 ms 76572 KB


2025-04-04 (Fri)
05:11:51 +00:00