結果

問題 No.46 はじめのn歩
ユーザー h_enjinh_enjin
提出日時 2016-02-12 00:45:16
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 168 bytes
コンパイル時間 232 ms
コンパイル使用メモリ 11,856 KB
実行使用メモリ 14,468 KB
最終ジャッジ日時 2023-10-22 02:24:48
合計ジャッジ時間 7,131 ms
ジャッジサーバーID
(参考情報)
judge9 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

raw_in = input()

arry = raw_in.split()
a = int(arry[0])
b = int(arry[1])

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

print(i)
0