結果
| 問題 |
No.2728 Grid Expansion
|
| コンテスト | |
| ユーザー |
kou_kkk
|
| 提出日時 | 2024-04-24 12:33:19 |
| 言語 | Nim (2.2.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 268 bytes |
| コンパイル時間 | 4,319 ms |
| コンパイル使用メモリ | 66,732 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-06 20:26:54 |
| 合計ジャッジ時間 | 5,190 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 15 |
ソースコード
import sequtils, strutils
let
nk = stdin.readLine.split.map parseInt
n = nk[0]
k = nk[1]
xss = n.newSeqWith stdin.readLine
var
ss = ""
for xs in xss:
var
s = ""
for x in xs:
for _ in 0 ..< k:
s &= x
s &= "\n"
ss &= s.repeat k
echo ss
kou_kkk