111302024-07-07 13:14:06probaMorze (60 pont)python3Accepted 60/6018ms3100 KiB
# morze
m = ['-----','.----','..---','...--','....-','.....','-....','--...','---..','----.']
#fsz = ".....--...---.."
fsz = input()
for i in range(0, len(fsz), 5):
    print(m.index(fsz[i:i+5]), end='')
    
SubtaskSumTestVerdictTimeMemory
base60/60
1Accepted0/017ms2980 KiB
2Accepted0/017ms2916 KiB
3Accepted3/317ms2916 KiB
4Accepted3/317ms2916 KiB
5Accepted3/317ms2964 KiB
6Accepted3/317ms2844 KiB
7Accepted3/317ms2844 KiB
8Accepted3/317ms2960 KiB
9Accepted4/417ms3060 KiB
10Accepted4/417ms3064 KiB
11Accepted4/418ms2908 KiB
12Accepted7/717ms3100 KiB
13Accepted7/717ms2960 KiB
14Accepted8/817ms2916 KiB
15Accepted8/817ms2916 KiB