111342024-07-07 13:31:36probaMorze (60 pont)python3Wrong answer 13/6018ms3080 KiB
fsz = input()

for i in range(0, len(fsz), 5):
    
    if fsz[i:i+5].count('-')==5:
        print(0,end='')
    elif fsz[i:i+5] =='.':
        print(5-fsz[i:i+5].count('-'), end='')
    else:
        print(5 + fsz[i:i+5].count('-'), end='')
    
    
SubtaskSumTestVerdictTimeMemory
base13/60
1Wrong answer0/017ms3000 KiB
2Wrong answer0/018ms2916 KiB
3Wrong answer0/317ms2988 KiB
4Accepted3/317ms2992 KiB
5Wrong answer0/318ms2916 KiB
6Wrong answer0/317ms2916 KiB
7Accepted3/317ms3080 KiB
8Accepted3/317ms3064 KiB
9Accepted4/417ms2980 KiB
10Wrong answer0/417ms2960 KiB
11Wrong answer0/417ms2848 KiB
12Wrong answer0/717ms3064 KiB
13Wrong answer0/717ms3064 KiB
14Wrong answer0/817ms2960 KiB
15Wrong answer0/818ms2944 KiB