結果

問題 No.46 はじめのn歩
ユーザー hinapnhinapn
提出日時 2015-10-20 02:20:53
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 114 bytes
コンパイル時間 736 ms
コンパイル使用メモリ 6,680 KB
実行使用メモリ 6,128 KB
最終ジャッジ日時 2023-09-29 16:50:21
合計ジャッジ時間 878 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
5,864 KB
testcase_01 AC 10 ms
5,928 KB
testcase_02 AC 10 ms
5,864 KB
testcase_03 AC 10 ms
5,996 KB
testcase_04 WA -
testcase_05 AC 10 ms
5,972 KB
testcase_06 AC 10 ms
5,864 KB
testcase_07 AC 10 ms
6,128 KB
testcase_08 AC 10 ms
5,940 KB
testcase_09 AC 10 ms
5,956 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b = map(int, raw_input().split())
total = b/a

if b%a == 0:
    print total
elif b%a <= 1:
    print total + 1
0