結果
問題 |
No.2728 Grid Expansion
|
ユーザー |
![]() |
提出日時 | 2024-04-20 17:23:19 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 314 bytes |
コンパイル時間 | 763 ms |
コンパイル使用メモリ | 67,168 KB |
最終ジャッジ日時 | 2025-02-21 07:03:14 |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
#include<iostream> #include <string> using namespace std; int main(void){ int n,k; std::cin>>n>>k; for(int i = 0; i < n; i++){ std::string s; std::cin>>s; for(int r = 0; r < k; r++){ for(int j = 0; j < n; j++) for(int c = 0; c < k; c++){ std::cout << s[j]; } std::cout << std::endl; } } }