# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1122430 | new | scanf 함수 5 (BSC_0_7) | Pypy 3 | 165 ms | 43700 KiB |
# Correct implementation
a, b = map(int, input().split())
average = (a + b) / 2
if average.is_integer():
print(int(average))
else:
print(average)
Compilation message (stdout)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |