mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
28 lines
434 B
Python
28 lines
434 B
Python
def problem_p02783(input_data):
|
|
import collections
|
|
import itertools as it
|
|
import math
|
|
|
|
# import numpy as np
|
|
|
|
# = input_data
|
|
|
|
# = int(input_data)
|
|
|
|
h, a = list(map(int, input_data.split()))
|
|
|
|
# = list(map(int, input_data.split()))
|
|
|
|
# = [int(input_data) for i in range(N)]
|
|
|
|
#
|
|
|
|
# c = collections.Counter()
|
|
|
|
if h % a == 0:
|
|
|
|
return int(h / a)
|
|
|
|
else:
|
|
|
|
return h // a + 1
|