結果
問題 | No.2228 Creeping Ghost |
ユーザー |
![]() |
提出日時 | 2023-05-05 02:39:23 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 24 ms / 2,000 ms |
コード長 | 391 bytes |
コンパイル時間 | 863 ms |
コンパイル使用メモリ | 104,604 KB |
最終ジャッジ日時 | 2025-02-12 17:05:25 |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 7 |
ソースコード
#include <iostream>#include <vector>#include <cmath>#include <map>#include <set>#include <iomanip>#include <queue>#include <algorithm>#include <numeric>#include <deque>#include <sstream>using namespace std;int main(){int T;cin >> T;string S="RRRDDLLL";for (int i=0; i<1e6; i++) S += "DDRRRRUUUULLLLDD";cout << S.substr(0, T) << endl;return 0;}