結果
| 問題 |
No.2228 Creeping Ghost
|
| コンテスト | |
| ユーザー |
tnakao0123
|
| 提出日時 | 2023-04-24 10:41:26 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 410 bytes |
| コンパイル時間 | 624 ms |
| コンパイル使用メモリ | 40,516 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-08 13:15:17 |
| 合計ジャッジ時間 | 2,829 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 1 WA * 6 |
ソースコード
/* -*- coding: utf-8 -*-
*
* 2228.cc: No.2228 Creeping Ghost - yukicoder
*/
#include<cstdio>
#include<algorithm>
using namespace std;
/* constant */
const int N = 16;
const char mvs[] = "DDRRRRUUDDLLLLUU";
/* typedef */
/* global variables */
/* subroutines */
/* main */
int main() {
int t;
scanf("%d", &t);
for (int i = 0; i < t; i++) putchar(mvs[i % N]);
putchar('\n');
return 0;
}
tnakao0123