제출 #1122428

#제출 시각아이디문제언어결과실행 시간메모리
1122428newscanf 함수 5 (BSC_0_7)Pypy 3
0 / 100
163 ms39352 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) 메시지

Compiling 'scanf5.py'...

=======
  adding: __main__.pyc (deflated 18%)

=======
#Verdict Execution timeMemoryGrader output
Fetching results...