結果
問題 |
No.2947 Sing a Song
|
ユーザー |
|
提出日時 | 2024-10-26 20:34:20 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 303 bytes |
コンパイル時間 | 3,549 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,628 KB |
最終ジャッジ日時 | 2024-10-26 20:34:31 |
合計ジャッジ時間 | 5,725 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | WA * 25 |
ソースコード
n = int(input()) s, t = list(map(str, input().split())) A = list(map(int, input().split())) for i in range(n): a = A[i] - len(t) b = a // len(s) c = (A[i] - len(s) * b) // len(t) for j in range(b): print(s, end=" ") for j in range(c): print(t, end=" ") print()