結果

問題 No.46 はじめのn歩
ユーザー polygon283polygon283
提出日時 2023-09-04 23:57:02
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 26 ms / 5,000 ms
コード長 244 bytes
コンパイル時間 226 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-22 21:10:25
合計ジャッジ時間 1,019 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

def steps(a,b):
    result = b // a
    if b % a != 0:
        return result +1
    else:
        return result
    
input_string = input()
split_string = input_string.split()

a = int(split_string[0])
b = int(split_string[1])
print(steps(a,b))
0