結果

問題 No.46 はじめのn歩
ユーザー ジンバブエドルジンバブエドル
提出日時 2021-07-08 08:00:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 1,717 ms / 5,000 ms
コード長 120 bytes
コンパイル時間 260 ms
コンパイル使用メモリ 87,132 KB
実行使用メモリ 75,744 KB
最終ジャッジ日時 2023-09-14 04:43:59
合計ジャッジ時間 3,274 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,344 KB
testcase_01 AC 62 ms
71,536 KB
testcase_02 AC 60 ms
71,328 KB
testcase_03 AC 62 ms
71,388 KB
testcase_04 AC 61 ms
71,216 KB
testcase_05 AC 66 ms
71,436 KB
testcase_06 AC 62 ms
71,436 KB
testcase_07 AC 63 ms
71,340 KB
testcase_08 AC 1,717 ms
75,744 KB
testcase_09 AC 63 ms
71,340 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a ,b = map(int, input().split())
distance = 0
ans = 0
while distance < b:
    distance += a
    ans += 1
    
print(ans)
0