結果
| 問題 |
No.2728 Grid Expansion
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-05-05 09:19:58 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 350 bytes |
| コンパイル時間 | 1,758 ms |
| コンパイル使用メモリ | 194,244 KB |
| 最終ジャッジ日時 | 2025-02-21 10:57:43 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int n, k;
cin >> n >> k;
vector<string> A(n);
for(auto &&s : A) cin >> s;
for(int y = 0; y < n * k; y++){
for(int x = 0; x < n * k; x++){
cout << A[y / k][x / k];
}
cout << '\n';
}
}