112312024-07-21 12:51:54probaOszthatóság 17-tel (60 pont)python3Wrong answer 10/6017ms3192 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='\n')
SubtaskSumTestVerdictTimeMemory
base10/60
1Wrong answer0/017ms2916 KiB
2Wrong answer0/017ms2916 KiB
3Accepted3/317ms2916 KiB
4Accepted3/317ms2916 KiB
5Wrong answer0/417ms2908 KiB
6Wrong answer0/417ms2916 KiB
7Wrong answer0/417ms2828 KiB
8Wrong answer0/517ms3064 KiB
9Wrong answer0/517ms2936 KiB
10Wrong answer0/517ms3192 KiB
11Wrong answer0/517ms2960 KiB
12Wrong answer0/617ms3052 KiB
13Wrong answer0/617ms3020 KiB
14Wrong answer0/617ms2836 KiB
15Accepted2/217ms2916 KiB
16Accepted2/217ms2960 KiB