Submission #1122428

#TimeUsernameProblemLanguageResultExecution timeMemory
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)

Compilation message (stdout)

Compiling 'scanf5.py'...

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

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