結果
| 問題 |
No.2728 Grid Expansion
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-05-30 22:56:54 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 378 bytes |
| コンパイル時間 | 1,989 ms |
| コンパイル使用メモリ | 193,240 KB |
| 最終ジャッジ日時 | 2025-02-21 17:10:10 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
#include<bits/stdc++.h>
#define pt printf(">>>")
#define mid (((l)+(r))/2)
using namespace std;
typedef long long ll;
typedef long double ld;
const ll N=1e6+10,inf=1e18+10,mod=1e9+7;
ll n,k;
char s[20][20];
int main(){
cin >> n >> k;
for(ll i=0;i<n;i++)cin >> (s[i]);
for(ll i=0;i<n*k;i++){
for(ll j=0;j<n*k;j++){
cout << s[i/k][j/k];
}
cout << endl;
}
return 0;
}