175232025-07-18 10:39:34algoproKiváló Számokpypy3Wrong answer 0/10046ms19520 KiB
# UUID: 140ac8ed-649a-400f-9f18-e78c7df93db3
from itertools import product

def kivalo_szam(N):
    kombinaciok = product('15', repeat=N)
    for szamjegyek in kombinaciok:
        szam_str = ''.join(szamjegyek)
        szam = int(szam_str)
        if szam % 3 == 0:
            print(szam)
            return
    print("NINCS")








SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer39ms19256 KiB
subtask20/33
2Wrong answer39ms19412 KiB
3Wrong answer43ms19444 KiB
4Wrong answer39ms19344 KiB
5Wrong answer45ms19276 KiB
6Wrong answer45ms19372 KiB
7Wrong answer46ms19508 KiB
8Wrong answer39ms19436 KiB
subtask30/33
9Wrong answer46ms19436 KiB
10Wrong answer39ms19272 KiB
11Wrong answer39ms19520 KiB
12Wrong answer39ms19436 KiB
13Wrong answer39ms19384 KiB
14Wrong answer43ms19360 KiB
15Wrong answer39ms19372 KiB
16Wrong answer43ms19432 KiB
17Wrong answer39ms19436 KiB
18Wrong answer43ms19456 KiB
19Wrong answer37ms19336 KiB
20Wrong answer45ms19384 KiB
subtask40/34
21Wrong answer43ms19240 KiB
22Wrong answer39ms19400 KiB
23Wrong answer39ms19380 KiB
24Wrong answer43ms19292 KiB
25Wrong answer39ms19404 KiB
26Wrong answer39ms19428 KiB
27Wrong answer37ms19440 KiB
28Wrong answer46ms19296 KiB
29Wrong answer39ms19236 KiB
30Wrong answer39ms19432 KiB
31Wrong answer37ms19272 KiB
32Wrong answer43ms19284 KiB
33Wrong answer39ms19400 KiB