結果

問題 No.542 1円玉と5円玉
ユーザー bellangeldindon
提出日時 2019-05-13 15:33:31
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 165 bytes
コンパイル時間 44 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-07 17:44:30
合計ジャッジ時間 876 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = int, raw_input().split()
price = []
for i in range(1, A+1):
	for j in range(1, B+1):
		yen = i + j*5
		if yen not in price: price.append(yen)
print len(price)
0