結果

問題 No.46 はじめのn歩
ユーザー a_tena_ten
提出日時 2016-03-09 19:57:54
言語 Python2
(2.7.18)
結果
TLE  
実行時間 -
コード長 124 bytes
コンパイル時間 527 ms
コンパイル使用メモリ 7,128 KB
実行使用メモリ 10,796 KB
最終ジャッジ日時 2023-10-24 21:50:38
合計ジャッジ時間 6,983 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
6,452 KB
testcase_01 AC 11 ms
6,404 KB
testcase_02 AC 11 ms
6,404 KB
testcase_03 AC 11 ms
6,404 KB
testcase_04 AC 11 ms
6,404 KB
testcase_05 AC 12 ms
6,404 KB
testcase_06 AC 11 ms
6,404 KB
testcase_07 AC 11 ms
6,404 KB
testcase_08 TLE -
testcase_09 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding:utf-8

n=raw_input().split()
a=int(n[0])
b=int(n[1])

cnt=0
while True:
	b-=a
	cnt+=1
	if b <= 0:
		break

print cnt
0