# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1122428 | new | scanf 함수 5 (BSC_0_7) | Pypy 3 | 163 ms | 39352 KiB |
# Slightly wrong implementation
a, b = map(int, input().split())
average = (a + b) // 2 # Mistakenly used integer division
if average.is_integer(): # This line becomes redundant due to the mistake
print(int(average))
else:
print(average)
Compilation message (stdout)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |