112322024-07-21 12:57:04probaOszthatóság 17-tel (60 pont)python3Accepted 60/6017ms3172 KiB
a=int(input())

print('IGEN' if a % 17 == 0 else 'NEM')

while(a>0):
    a = a//10-(a % 10)*5
    print(a if (a > -1) else '\n', end= ' ')

SubtaskSumTestVerdictTimeMemory
base60/60
1Accepted0/017ms2988 KiB
2Accepted0/017ms2920 KiB
3Accepted3/317ms2916 KiB
4Accepted3/317ms3044 KiB
5Accepted4/417ms3064 KiB
6Accepted4/417ms3172 KiB
7Accepted4/417ms2916 KiB
8Accepted5/517ms2916 KiB
9Accepted5/517ms2936 KiB
10Accepted5/517ms2920 KiB
11Accepted5/517ms2916 KiB
12Accepted6/617ms2936 KiB
13Accepted6/617ms2968 KiB
14Accepted6/617ms2960 KiB
15Accepted2/217ms3032 KiB
16Accepted2/217ms2864 KiB