11740 | 2024-11-08 15:21:25 | PeterfalvyZoltan | A Négyszögletű Kerek Erdő | python3 | Wrong answer 0/100 | 17ms | 3076 KiB |
N,A,B =[int(i)for i in input().split()]
szam = 0
if A > B:
szam = A-B
if B > A:
szam = (B-A)+1
if szam >= 5:
print(szam)
else:
print("Tul konnyu!")
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 16ms | 2872 KiB | ||||
2 | Accepted | 14ms | 2872 KiB | ||||
subtask2 | 0/40 | ||||||
3 | Accepted | 16ms | 2880 KiB | ||||
4 | Accepted | 17ms | 2856 KiB | ||||
5 | Accepted | 16ms | 2872 KiB | ||||
6 | Accepted | 16ms | 2872 KiB | ||||
7 | Accepted | 16ms | 2872 KiB | ||||
8 | Wrong answer | 16ms | 3076 KiB | ||||
9 | Accepted | 14ms | 2872 KiB | ||||
subtask3 | 0/20 | ||||||
10 | Wrong answer | 16ms | 2872 KiB | ||||
11 | Wrong answer | 16ms | 2872 KiB | ||||
12 | Accepted | 14ms | 2872 KiB | ||||
13 | Accepted | 14ms | 2872 KiB | ||||
14 | Wrong answer | 14ms | 2872 KiB | ||||
subtask4 | 0/40 | ||||||
15 | Accepted | 16ms | 2876 KiB | ||||
16 | Accepted | 16ms | 2956 KiB | ||||
17 | Wrong answer | 16ms | 2872 KiB | ||||
18 | Accepted | 14ms | 2984 KiB | ||||
19 | Wrong answer | 16ms | 2872 KiB | ||||
20 | Accepted | 16ms | 2888 KiB | ||||
21 | Wrong answer | 14ms | 2876 KiB |