11593 | 2024-10-29 18:21:25 | Kezdő | A Négyszögletű Kerek Erdő | python3 | Accepted 100/100 | 17ms | 3164 KiB |
N,A,B = [int(i) for i in input().split()]
E = (B-A)%N + 1
if E < 5:
print('Tul konnyu!')
else:
print(E)
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 16ms | 3128 KiB | ||||
2 | Accepted | 17ms | 2976 KiB | ||||
subtask2 | 40/40 | ||||||
3 | Accepted | 17ms | 2856 KiB | ||||
4 | Accepted | 17ms | 2896 KiB | ||||
5 | Accepted | 16ms | 2964 KiB | ||||
6 | Accepted | 17ms | 2868 KiB | ||||
7 | Accepted | 16ms | 2868 KiB | ||||
8 | Accepted | 16ms | 2872 KiB | ||||
9 | Accepted | 16ms | 3068 KiB | ||||
subtask3 | 20/20 | ||||||
10 | Accepted | 16ms | 2900 KiB | ||||
11 | Accepted | 16ms | 3072 KiB | ||||
12 | Accepted | 16ms | 2860 KiB | ||||
13 | Accepted | 17ms | 2872 KiB | ||||
14 | Accepted | 17ms | 2872 KiB | ||||
subtask4 | 40/40 | ||||||
15 | Accepted | 16ms | 2872 KiB | ||||
16 | Accepted | 16ms | 2952 KiB | ||||
17 | Accepted | 16ms | 2884 KiB | ||||
18 | Accepted | 16ms | 2868 KiB | ||||
19 | Accepted | 16ms | 2872 KiB | ||||
20 | Accepted | 17ms | 3164 KiB | ||||
21 | Accepted | 16ms | 3064 KiB |