# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
741483 | rahidilbayramli | 다각형 (GA5_polygon) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
a = int(input())
b = int(input())
a = (a + 1) / 2
b = b / 2
if a == 1:
a = a + 1
if a > b:
print(0)
else:
print(round((b - a + 1) * (a + b)))