結果
| 問題 | No.542 1円玉と5円玉 |
| コンテスト | |
| ユーザー |
takakin
|
| 提出日時 | 2020-04-11 17:28:27 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 197 bytes |
| コンパイル時間 | 80 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-09-19 05:24:33 |
| 合計ジャッジ時間 | 1,091 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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