fork download
  1. # your code goes here
  2. import math
  3. a = int(input())
  4. b = int(input())
  5. c = int(input())
  6. T = math.ceil(a/2) + math.ceil(b/2) + math.ceil(c/2)
  7. print ('Số bàn tối thiểu cần mua: ', T)
Success #stdin #stdout 0.03s 9260KB
stdin
35
42
39
stdout
Số bàn tối thiểu cần mua:  59