結果
問題 | No.2728 Grid Expansion |
ユーザー |
|
提出日時 | 2024-05-14 08:13:51 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 715 bytes |
コンパイル時間 | 969 ms |
コンパイル使用メモリ | 98,868 KB |
最終ジャッジ日時 | 2025-02-21 13:59:34 |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 15 |
ソースコード
#include <iostream>#include <algorithm>#include <map>#include <set>#include <queue>#include <stack>#include <numeric>#include <bitset>#include <cmath>#include <limits>#include <array>static const int MOD = 998244353;using ll = long long;using uint = unsigned;using ull = unsigned long long;using namespace std;template<class T> constexpr T INF = ::numeric_limits<T>::max() / 32 * 15 + 208;string g[10];int main() {int n, k;cin >> n >> k;for (int i = 0; i < n; ++i) {cin >> g[i];}for (int i = 0; i < n * k; ++i) {for (int j = 0; j < n * k; ++j) {cout << g[i/k][j/k];}cout << "\n";}cout << "\n";return 0;}