結果

問題 No.46 はじめのn歩
ユーザー 初見わこつです初見わこつです
提出日時 2015-09-12 18:15:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 17 ms / 5,000 ms
コード長 392 bytes
コンパイル時間 191 ms
コンパイル使用メモリ 10,664 KB
実行使用メモリ 7,932 KB
最終ジャッジ日時 2023-09-26 11:40:56
合計ジャッジ時間 1,018 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,748 KB
testcase_01 AC 16 ms
7,868 KB
testcase_02 AC 16 ms
7,844 KB
testcase_03 AC 16 ms
7,928 KB
testcase_04 AC 16 ms
7,888 KB
testcase_05 AC 16 ms
7,832 KB
testcase_06 AC 15 ms
7,820 KB
testcase_07 AC 15 ms
7,804 KB
testcase_08 AC 15 ms
7,932 KB
testcase_09 AC 16 ms
7,832 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/python3

# This problem is http://yukicoder.me/problems/43

def ceil(float_number):
    int_number = int(float_number)
    if float_number > int_number:
        return int_number + 1
    return int_number

first_line = input()
a_and_b = list(map(int, first_line.split(' ')))
one_step = a_and_b[0]
interval = a_and_b[1]

print(ceil(interval/one_step))


# print(one_step, interval)
0