|
|
вернуться в форумWA 5 Послано Akashi 13 сен 2022 21:57 a = int(input()) b = int(input()) if a %2==1 and b%2==1: print(int((b-a)/2+1)) else: print((b-a)//2) Why WA?? Re: WA 5 Послано xinxer 9 янв 2024 18:04 What if a = 2 and b = 3? The answer will be 1 but your code will give 0. Now fix it. |
|
|