118542024-11-12 12:18:15tothbenedekA Négyszögletű Kerek Erdőpython3Wrong answer 0/10017ms3148 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 answer16ms2864 KiB
subtask20/40
3Wrong answer17ms3088 KiB
4Wrong answer17ms3148 KiB
5Wrong answer17ms2892 KiB
6Wrong answer17ms2860 KiB
7Wrong answer17ms3032 KiB
8Wrong answer17ms2872 KiB
9Accepted17ms2888 KiB
subtask30/20
10Wrong answer16ms3080 KiB
11Wrong answer16ms3084 KiB
12Wrong answer17ms2872 KiB
13Wrong answer16ms2972 KiB
14Wrong answer16ms3072 KiB
subtask40/40
15Wrong answer16ms3004 KiB
16Wrong answer17ms2872 KiB
17Wrong answer16ms2864 KiB
18Wrong answer16ms2872 KiB
19Wrong answer16ms3076 KiB
20Wrong answer16ms2952 KiB
21Wrong answer16ms2872 KiB