117392024-11-08 15:10:30DoberBendeguzA Négyszögletű Kerek Erdőpython3Wrong answer 0/10017ms3300 KiB
N,A,B = [int(i) for i in input().split()]
fak = 0
if A>B:
    fak = A-B
if A<B:
    fak = B-A+1

if fak >= 5:
    print(fak)
else:
    print('Tul konnyu!')
    

SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted14ms3064 KiB
2Accepted16ms2872 KiB
subtask20/40
3Accepted17ms3084 KiB
4Accepted14ms3076 KiB
5Accepted16ms3088 KiB
6Accepted16ms2872 KiB
7Accepted16ms3300 KiB
8Wrong answer14ms2876 KiB
9Accepted17ms2888 KiB
subtask30/20
10Wrong answer14ms3084 KiB
11Wrong answer14ms2940 KiB
12Accepted16ms2888 KiB
13Accepted16ms3076 KiB
14Wrong answer14ms3068 KiB
subtask40/40
15Accepted16ms2984 KiB
16Accepted16ms3020 KiB
17Wrong answer14ms2980 KiB
18Accepted14ms2868 KiB
19Wrong answer16ms3056 KiB
20Accepted16ms3064 KiB
21Wrong answer16ms2876 KiB