結果

問題 No.388 階段 (1)
ユーザー higashihigashi
提出日時 2022-12-28 10:48:34
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 16 ms / 2,000 ms
コード長 139 bytes
コンパイル時間 217 ms
コンパイル使用メモリ 10,540 KB
実行使用メモリ 8,100 KB
最終ジャッジ日時 2023-08-15 00:40:22
合計ジャッジ時間 1,282 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,948 KB
testcase_01 AC 16 ms
8,000 KB
testcase_02 AC 15 ms
7,904 KB
testcase_03 AC 16 ms
7,916 KB
testcase_04 AC 15 ms
7,908 KB
testcase_05 AC 16 ms
7,876 KB
testcase_06 AC 16 ms
7,940 KB
testcase_07 AC 16 ms
7,900 KB
testcase_08 AC 16 ms
7,952 KB
testcase_09 AC 16 ms
7,856 KB
testcase_10 AC 16 ms
7,864 KB
testcase_11 AC 16 ms
8,100 KB
testcase_12 AC 16 ms
8,056 KB
testcase_13 AC 16 ms
7,876 KB
testcase_14 AC 16 ms
7,948 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
s, f = map(int, input().split())

if s / f < 1:
  print(1)
elif s % f == 0:
  print(s // f + 1)
else:
  print(math.ceil(s / f))
0