111272024-07-07 12:54:28probaMicimackó (40 pont)python3Wrong answer 0/4017ms3088 KiB
# micimacko
#tav =[int(i) for i in '5 11'.split(' ')]
tav =[int(i) for i in input().split(' ')]
#csupor =[int(i) for i in '3 10'.split(' ')]
csupor =[int(i) for i in input().split(' ')]

tav1 = tav[0]
tav2 = tav[1]-tav[0]
csupor1 = csupor[0]
csupor2 = csupor[1]
print(abs(tav1-csupor1)-1+abs(tav2-csupor2)-1)
SubtaskSumTestVerdictTimeMemory
base0/40
1Accepted0/017ms2916 KiB
2Wrong answer0/017ms2916 KiB
3Wrong answer0/217ms2916 KiB
4Wrong answer0/217ms2988 KiB
5Wrong answer0/217ms2980 KiB
6Wrong answer0/217ms2916 KiB
7Wrong answer0/217ms2788 KiB
8Wrong answer0/217ms3060 KiB
9Wrong answer0/217ms2940 KiB
10Wrong answer0/217ms2996 KiB
11Wrong answer0/217ms3088 KiB
12Wrong answer0/217ms2928 KiB
13Wrong answer0/217ms2908 KiB
14Wrong answer0/217ms3064 KiB
15Wrong answer0/217ms3064 KiB
16Wrong answer0/217ms2968 KiB
17Wrong answer0/217ms2960 KiB
18Wrong answer0/217ms2916 KiB
19Wrong answer0/217ms2916 KiB
20Wrong answer0/217ms2936 KiB
21Wrong answer0/217ms2916 KiB
22Wrong answer0/217ms2936 KiB