11739 | 2024-11-08 15:10:30 | DoberBendeguz | A Négyszögletű Kerek Erdő | python3 | Wrong answer 0/100 | 17ms | 3300 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!')
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 14ms | 3064 KiB | ||||
2 | Accepted | 16ms | 2872 KiB | ||||
subtask2 | 0/40 | ||||||
3 | Accepted | 17ms | 3084 KiB | ||||
4 | Accepted | 14ms | 3076 KiB | ||||
5 | Accepted | 16ms | 3088 KiB | ||||
6 | Accepted | 16ms | 2872 KiB | ||||
7 | Accepted | 16ms | 3300 KiB | ||||
8 | Wrong answer | 14ms | 2876 KiB | ||||
9 | Accepted | 17ms | 2888 KiB | ||||
subtask3 | 0/20 | ||||||
10 | Wrong answer | 14ms | 3084 KiB | ||||
11 | Wrong answer | 14ms | 2940 KiB | ||||
12 | Accepted | 16ms | 2888 KiB | ||||
13 | Accepted | 16ms | 3076 KiB | ||||
14 | Wrong answer | 14ms | 3068 KiB | ||||
subtask4 | 0/40 | ||||||
15 | Accepted | 16ms | 2984 KiB | ||||
16 | Accepted | 16ms | 3020 KiB | ||||
17 | Wrong answer | 14ms | 2980 KiB | ||||
18 | Accepted | 14ms | 2868 KiB | ||||
19 | Wrong answer | 16ms | 3056 KiB | ||||
20 | Accepted | 16ms | 3064 KiB | ||||
21 | Wrong answer | 16ms | 2876 KiB |