結果
| 問題 | No.2728 Grid Expansion |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-19 21:22:42 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 370 bytes |
| 記録 | |
| コンパイル時間 | 1,165 ms |
| コンパイル使用メモリ | 210,552 KB |
| 実行使用メモリ | 11,964 KB |
| 最終ジャッジ日時 | 2026-07-04 12:36:43 |
| 合計ジャッジ時間 | 1,879 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
#include <bits/stdc++.h>
typedef long long LL;
const int N = 100 + 7;
int n, m;
char s[N][N], t[N][N];
int main() {
scanf("%d%d", &n, &m);
for(int i = 0; i < n; ++i)
scanf("%s", s[i]);
for(int i = 0; i < n * m; ++i)
for(int j = 0; j < n * m; ++j)
t[i][j] = s[i / m][j / m];
for(int i = 0; i < n * m; ++i)
puts(t[i]);
return 0;
}