結果
問題 |
No.2728 Grid Expansion
|
ユーザー |
|
提出日時 | 2024-04-19 21:31:51 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 534 bytes |
コンパイル時間 | 2,416 ms |
コンパイル使用メモリ | 195,292 KB |
最終ジャッジ日時 | 2025-02-21 03:47:30 |
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
#include <bits/stdc++.h> #define INF 1000000001LL #define LNF 1000000000000000001LL #define MOD 1000000007LL #define MAX 1005 #define long long long #define all(x) x.begin(),x.end() using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int n,k; cin >> n >> k; vector<string> pan(n); for(int i = 0; i<n; i++) cin >> pan[i]; for(int i = 0; i<n*k; i++) { for(int j = 0; j<n*k; j++) cout << pan[i/k][j/k]; cout << "\n"; } return 0; }