12065 | 2024-11-27 15:04:45 | Xetoxino | A Négyszögletű Kerek Erdő | python3 | Accepted 100/100 | 16ms | 3064 KiB |
N,A,B = [int(i) for i in input().split()]
P = (B - A) % N +1
if P >= 5:
print(P)
else:
print('Tul konnyu!')
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 16ms | 2872 KiB | ||||
2 | Accepted | 16ms | 2872 KiB | ||||
subtask2 | 40/40 | ||||||
3 | Accepted | 16ms | 2872 KiB | ||||
4 | Accepted | 16ms | 2872 KiB | ||||
5 | Accepted | 16ms | 3060 KiB | ||||
6 | Accepted | 14ms | 2904 KiB | ||||
7 | Accepted | 16ms | 3064 KiB | ||||
8 | Accepted | 14ms | 2888 KiB | ||||
9 | Accepted | 16ms | 3060 KiB | ||||
subtask3 | 20/20 | ||||||
10 | Accepted | 16ms | 2960 KiB | ||||
11 | Accepted | 16ms | 3000 KiB | ||||
12 | Accepted | 14ms | 2952 KiB | ||||
13 | Accepted | 16ms | 2972 KiB | ||||
14 | Accepted | 14ms | 3064 KiB | ||||
subtask4 | 40/40 | ||||||
15 | Accepted | 16ms | 2996 KiB | ||||
16 | Accepted | 16ms | 2928 KiB | ||||
17 | Accepted | 14ms | 2872 KiB | ||||
18 | Accepted | 14ms | 2988 KiB | ||||
19 | Accepted | 16ms | 3064 KiB | ||||
20 | Accepted | 16ms | 3060 KiB | ||||
21 | Accepted | 14ms | 2904 KiB |