제출 #1023232

#제출 시각아이디문제언어결과실행 시간메모리
1023232ConU다각형 (GA5_polygon)Cpython 3
10 / 100
12 ms2920 KiB
import sys
input_ = sys.stdin.readline
def minput(): return map(int, input_().split())


a, b = minput()
x = a
a = (a + a % 2) // 2
a += a == 1
b = (b - b % 2) // 2
print(b * (b + 1) - a * (a - 1) + 5 * (x == 5))
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...