結果
問題 | No.542 1円玉と5円玉 |
ユーザー |
|
提出日時 | 2018-12-12 05:49:40 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 82 ms / 2,000 ms |
コード長 | 225 bytes |
コンパイル時間 | 220 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,264 KB |
最終ジャッジ日時 | 2024-09-25 03:29:54 |
合計ジャッジ時間 | 1,386 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
import decimal o, f = map(int, input().split()) r = [] for i in range(f+1): for j in range(o+1): if i!=0 or j!=0: if 5*i+j not in r: r.append(5*i+j) r.sort() for p in r: print(p)