195512025-12-14 16:38:21gsebiOszthatóság 31-gyelpython3Wrong answer 0/5017ms3152 KiB
a=int(input())
m=[]
while a>0:
    b=a%10
    a=((a-b)/10)-b*3
    m.append(a)
if a==0:
    print("IGEN")
else:
    print("NEM")
for i in range(len(m)):
    if m[i]>=0:
        print(m[i])
SubtaskSumTestVerdictTimeMemory
base0/50
1Wrong answer0/016ms2972 KiB
2Wrong answer0/016ms2980 KiB
3Wrong answer0/316ms3088 KiB
4Wrong answer0/316ms3152 KiB
5Wrong answer0/416ms3144 KiB
6Wrong answer0/416ms2868 KiB
7Wrong answer0/416ms3072 KiB
8Wrong answer0/416ms2868 KiB
9Wrong answer0/416ms3020 KiB
10Wrong answer0/416ms2868 KiB
11Wrong answer0/416ms3104 KiB
12Wrong answer0/417ms2892 KiB
13Wrong answer0/416ms2868 KiB
14Wrong answer0/416ms2892 KiB
15Wrong answer0/216ms2868 KiB
16Wrong answer0/216ms2868 KiB