結果

問題 No.388 階段 (1)
ユーザー baritachi1baritachi1
提出日時 2018-04-25 22:24:00
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 198 bytes
コンパイル時間 105 ms
コンパイル使用メモリ 10,656 KB
実行使用メモリ 7,952 KB
最終ジャッジ日時 2023-09-10 05:30:09
合計ジャッジ時間 1,419 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,944 KB
testcase_01 AC 16 ms
7,952 KB
testcase_02 AC 16 ms
7,784 KB
testcase_03 AC 16 ms
7,948 KB
testcase_04 WA -
testcase_05 AC 16 ms
7,836 KB
testcase_06 AC 16 ms
7,760 KB
testcase_07 AC 16 ms
7,828 KB
testcase_08 AC 17 ms
7,760 KB
testcase_09 AC 16 ms
7,892 KB
testcase_10 WA -
testcase_11 AC 16 ms
7,784 KB
testcase_12 AC 16 ms
7,916 KB
testcase_13 AC 16 ms
7,836 KB
testcase_14 AC 16 ms
7,832 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s,f = map(int,input().strip().split())

if s == f:
    print(int(2))
elif (s > f):
    if round(s/f) >= s/f:
        print(round(s/f))
    else:
        print(round(s/f) + 1)
else:
    print(int(1))
0