結果

問題 No.46 はじめのn歩
ユーザー hosobikihosobiki
提出日時 2018-07-03 13:07:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 258 bytes
コンパイル時間 245 ms
コンパイル使用メモリ 10,504 KB
実行使用メモリ 12,548 KB
最終ジャッジ日時 2023-09-13 17:15:06
合計ジャッジ時間 6,916 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,804 KB
testcase_01 AC 15 ms
7,760 KB
testcase_02 AC 15 ms
7,788 KB
testcase_03 AC 16 ms
7,740 KB
testcase_04 AC 15 ms
7,776 KB
testcase_05 AC 15 ms
7,856 KB
testcase_06 AC 16 ms
7,780 KB
testcase_07 AC 15 ms
7,804 KB
testcase_08 TLE -
testcase_09 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

def main():
    text = sys.stdin.readline()
    param =  text.split(" ")
    step = int(param[0])
    section = int(param[1])
    
    i = 1
    while section - (step*i) > 0:
        i += 1

    print(i)
    
if __name__ == "__main__":
    main()
0