117592024-11-09 11:19:01balintMicimackó (40 pont)python3Wrong answer 26/4017ms3084 KiB
def main():
    a, b = map(int, input().split())
    c, d = map(int, input().split())
    print(max(c - a, 0) + max(d - (b - a), 0))
main()
SubtaskSumTestVerdictTimeMemory
base26/40
1Accepted0/014ms3056 KiB
2Wrong answer0/016ms2956 KiB
3Accepted2/216ms2872 KiB
4Wrong answer0/216ms2872 KiB
5Wrong answer0/216ms2872 KiB
6Accepted2/216ms3068 KiB
7Accepted2/214ms3020 KiB
8Accepted2/216ms2872 KiB
9Accepted2/216ms3036 KiB
10Wrong answer0/216ms2972 KiB
11Accepted2/216ms3048 KiB
12Wrong answer0/216ms2988 KiB
13Accepted2/217ms2872 KiB
14Accepted2/216ms2872 KiB
15Accepted2/216ms2868 KiB
16Wrong answer0/216ms2868 KiB
17Wrong answer0/217ms2872 KiB
18Accepted2/216ms2872 KiB
19Wrong answer0/216ms2864 KiB
20Accepted2/216ms2888 KiB
21Accepted2/214ms3084 KiB
22Accepted2/216ms2872 KiB