답안 #1023232

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
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))
# 결과 실행 시간 메모리 Grader output
1 Incorrect 10 ms 2908 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 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
# 결과 실행 시간 메모리 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 -