181702025-10-09 09:59:46birozsOszthatóság 17-tel (60 pont)python3Accepted 60/6016ms3088 KiB
a = int(input())
if a % 17 == 0:
    print("IGEN")
else:
    print("NEM")
bent = False
while a > 0 and a // 10 >= (a % 10) * 5:
    a = (a // 10) - ((a % 10) * 5)
    print(a,end=" ")
    bent = True
if not bent:
    print()
SubtaskSumTestVerdictTimeMemory
base60/60
1Accepted0/016ms2868 KiB
2Accepted0/016ms2868 KiB
3Accepted3/314ms2872 KiB
4Accepted3/316ms2868 KiB
5Accepted4/416ms2868 KiB
6Accepted4/416ms3088 KiB
7Accepted4/416ms3064 KiB
8Accepted5/516ms2892 KiB
9Accepted5/516ms3064 KiB
10Accepted5/516ms2860 KiB
11Accepted5/516ms3056 KiB
12Accepted6/616ms2952 KiB
13Accepted6/616ms3060 KiB
14Accepted6/616ms3056 KiB
15Accepted2/214ms3036 KiB
16Accepted2/216ms3052 KiB