結果
問題 | No.542 1円玉と5円玉 |
ユーザー |
|
提出日時 | 2022-12-28 12:18:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 164 bytes |
コンパイル時間 | 267 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-23 12:41:16 |
合計ジャッジ時間 | 1,158 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 10 |
ソースコード
a,b=map(int,input().split()) s=set() for i in range(a+1): for j in range(b+1): a=i+5*j s.add(a) s.remove(0) s.sorted() for i in s: print(i)