結果
| 問題 | No.542 1円玉と5円玉 |
| コンテスト | |
| ユーザー |
takakin
|
| 提出日時 | 2020-04-11 17:28:27 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 197 bytes |
| 記録 | |
| コンパイル時間 | 311 ms |
| コンパイル使用メモリ | 20,832 KB |
| 実行使用メモリ | 15,484 KB |
| 最終ジャッジ日時 | 2026-04-07 11:38:53 |
| 合計ジャッジ時間 | 2,162 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 10 |
ソースコード
import sys
input=lambda: sys.stdin.readline().rstrip()
a,b=map(int,input().split())
S=set()
for i in range(1,a+1):
for j in range(1,b+1):
S.add(i+5*j)
S=sorted(list(S))
for s in S:
print(s)
takakin