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)))
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
13 ms |
2900 KB |
Execution failed because the return code was nonzero |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
13 ms |
2772 KB |
Execution failed because the return code was nonzero |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
14 ms |
2812 KB |
Execution failed because the return code was nonzero |
2 |
Halted |
0 ms |
0 KB |
- |