結果
| 問題 | No.3703 回転 (Rotation) |
| コンテスト | |
| ユーザー |
tnakao0123
|
| 提出日時 | 2026-09-10 19:38:03 |
| 言語 | C++17 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 5 ms / 2,000 ms |
| + 195µs | |
| コード長 | 544 bytes |
| 記録 | |
| コンパイル時間 | 2,546 ms |
| コンパイル使用メモリ | 50,352 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-10 19:38:12 |
| 合計ジャッジ時間 | 2,778 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
/* -*- coding: utf-8 -*-
*
* 3703.cc: No.3703 蝗櫁サ「 (Rotation) - yukicoder
*/
#include<cstdio>
#include<algorithm>
using namespace std;
/* constant */
const int MAX_H = 1000;
const int MAX_W = 1000;
/* typedef */
/* global variables */
char ss[MAX_H][MAX_W + 4];
/* subroutines */
/* main */
int main() {
int h, w;
scanf("%d%d", &h, &w);
for (int i = 0; i < h; i++) scanf("%s", ss[i]);
for (int i = 0; i < w; i++) {
for (int j = 0; j < h; j++) putchar(ss[h - 1 - j][i]);
putchar('\n');
}
return 0;
}
tnakao0123