| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 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)
컴파일 시 표준 출력 (stdout) 메시지
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
