Submission #1023232

# Submission time Handle Problem Language Result Execution time Memory
1023232 2024-07-14T13:47:42 Z ConU 다각형 (GA5_polygon) Python 3
10 / 100
12 ms 2920 KB
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 time Memory Grader output
1 Incorrect 10 ms 2908 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 12 ms 2884 KB Output is correct
2 Correct 11 ms 2728 KB Output is correct
3 Correct 10 ms 2908 KB Output is correct
4 Correct 10 ms 2908 KB Output is correct
5 Correct 10 ms 2920 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 10 ms 2908 KB Output is correct
2 Correct 10 ms 2784 KB Output is correct
3 Correct 10 ms 2908 KB Output is correct
4 Incorrect 10 ms 2900 KB Output isn't correct
5 Halted 0 ms 0 KB -