169272025-05-15 18:36:39algoproMorze (60 pont)pypy3Accepted 60/6046ms19748 KiB
# UUID: 0df90397-2b7a-407e-8e50-25dce9ba5c93
# @ $ % & * ( ) - _ = + [ ] { } \ | ; : ' " < > , . ? / ~ ^
sor = input()
for i in range(len(sor)//5):
    jel = sor[5*i:5*i+5]
    if jel[0] == '.':
        print(jel.count('.'),end = '')
    else:
        print((jel.count('-')+5)%10,end = '')
        """
        if jel == '-----':
            print(0,end = '')    
        else:
            print(jel.count('-')+5,end = '')
        """
SubtaskSumTestVerdictTimeMemory
base60/60
1Accepted0/039ms19424 KiB
2Accepted0/041ms19660 KiB
3Accepted3/345ms19568 KiB
4Accepted3/343ms19392 KiB
5Accepted3/339ms19284 KiB
6Accepted3/343ms19472 KiB
7Accepted3/343ms19404 KiB
8Accepted3/339ms19424 KiB
9Accepted4/445ms19404 KiB
10Accepted4/446ms19276 KiB
11Accepted4/439ms19392 KiB
12Accepted7/737ms19424 KiB
13Accepted7/743ms19480 KiB
14Accepted8/846ms19748 KiB
15Accepted8/841ms19684 KiB