結果

問題 No.46 はじめのn歩
ユーザー S.MarutsukaS.Marutsuka
提出日時 2015-10-15 02:39:45
言語 Python2
(2.7.18)
結果
AC  
実行時間 13 ms / 5,000 ms
コード長 161 bytes
コンパイル時間 65 ms
コンパイル使用メモリ 6,676 KB
実行使用メモリ 6,012 KB
最終ジャッジ日時 2023-09-28 21:10:24
合計ジャッジ時間 964 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
5,956 KB
testcase_01 AC 12 ms
5,980 KB
testcase_02 AC 13 ms
6,012 KB
testcase_03 AC 13 ms
5,896 KB
testcase_04 AC 13 ms
5,912 KB
testcase_05 AC 13 ms
5,956 KB
testcase_06 AC 11 ms
5,940 KB
testcase_07 AC 12 ms
5,912 KB
testcase_08 AC 11 ms
5,956 KB
testcase_09 AC 11 ms
5,892 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-

input1 = raw_input().split()

a = int(input1[0])
b = int(input1[1])

ans = (b - b % a) / a
if b % a > 0:
	ans = ans + 1
	
print str(ans)
0