11840 | 2024-11-12 11:59:58 | janka1 | A Négyszögletű Kerek Erdő | python3 | Accepted 100/100 | 17ms | 3236 KiB |
N,a,k = [int(i) for i in input().split()]
h = (k-a)%N+1
if h>=5:
print(h)
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 | 14ms | 2840 KiB | ||||
4 | Accepted | 14ms | 2836 KiB | ||||
5 | Accepted | 16ms | 3080 KiB | ||||
6 | Accepted | 16ms | 2876 KiB | ||||
7 | Accepted | 16ms | 2972 KiB | ||||
8 | Accepted | 16ms | 2876 KiB | ||||
9 | Accepted | 14ms | 2872 KiB | ||||
subtask3 | 20/20 | ||||||
10 | Accepted | 16ms | 2860 KiB | ||||
11 | Accepted | 16ms | 3076 KiB | ||||
12 | Accepted | 16ms | 2872 KiB | ||||
13 | Accepted | 16ms | 2888 KiB | ||||
14 | Accepted | 14ms | 2840 KiB | ||||
subtask4 | 40/40 | ||||||
15 | Accepted | 16ms | 2876 KiB | ||||
16 | Accepted | 16ms | 2872 KiB | ||||
17 | Accepted | 16ms | 3068 KiB | ||||
18 | Accepted | 16ms | 2872 KiB | ||||
19 | Accepted | 17ms | 2836 KiB | ||||
20 | Accepted | 17ms | 3160 KiB | ||||
21 | Accepted | 17ms | 3236 KiB |