36632023-03-02 10:24:10cstmOszthatóság 17-tel (60 pont)python3Accepted 60/6020ms18672 KiB
a=int(input())
if(a%17==0):
    print("IGEN")
    while(a>0):
        a=(a//10)-(a%10*5)
        if (a > -1):
            print(a, end=" ")
        else:
            print("\n")
else:
    print("NEM")
    while (a > 0):
        a = (a // 10) - (a % 10 * 5)
        if(a>-1):
            print(a, end=" ")
        else:
            print("\n")
SubtaskSumTestVerdictTimeMemory
base60/60
1Accepted0/020ms16460 KiB
2Accepted0/017ms16692 KiB
3Accepted3/317ms16660 KiB
4Accepted3/316ms16720 KiB
5Accepted4/417ms17024 KiB
6Accepted4/417ms17156 KiB
7Accepted4/417ms17720 KiB
8Accepted5/517ms17572 KiB
9Accepted5/517ms17888 KiB
10Accepted5/517ms17832 KiB
11Accepted5/517ms18212 KiB
12Accepted6/617ms18208 KiB
13Accepted6/617ms18376 KiB
14Accepted6/617ms18172 KiB
15Accepted2/217ms18548 KiB
16Accepted2/217ms18672 KiB