118472024-11-12 12:13:30tothbenedekA Négyszögletű Kerek Erdőpython3Wrong answer 0/10017ms3096 KiB
N,A,B=[int(i)for i in input().split()]
s=0
if A < B :
    s=B-A+1

if A >B:
    s =(B-A) % N

if s >=5:
    print(s)

if s < 5:
    print('Tul konnyu')
    
    
     
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted16ms2872 KiB
2Wrong answer16ms2872 KiB
subtask20/40
3Wrong answer17ms2872 KiB
4Wrong answer16ms2868 KiB
5Wrong answer16ms2872 KiB
6Wrong answer16ms2868 KiB
7Wrong answer14ms3060 KiB
8Wrong answer14ms2924 KiB
9Accepted16ms3072 KiB
subtask30/20
10Wrong answer16ms2872 KiB
11Wrong answer14ms3096 KiB
12Wrong answer16ms3028 KiB
13Accepted14ms2976 KiB
14Wrong answer14ms2956 KiB
subtask40/40
15Accepted16ms2872 KiB
16Accepted16ms2872 KiB
17Wrong answer16ms2872 KiB
18Wrong answer16ms2872 KiB
19Wrong answer14ms2900 KiB
20Accepted14ms2872 KiB
21Wrong answer16ms2872 KiB