結果
問題 |
No.2228 Creeping Ghost
|
ユーザー |
|
提出日時 | 2024-10-12 19:32:58 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 5 ms / 2,000 ms |
コード長 | 570 bytes |
コンパイル時間 | 1,002 ms |
コンパイル使用メモリ | 112,676 KB |
最終ジャッジ日時 | 2025-02-24 18:56:19 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 7 |
ソースコード
#include<iostream> #include<string> #include<queue> #include<vector> #include<cassert> #include<random> #include<set> #include<map> #include<cassert> #include<unordered_map> #include<bitset> #include<numeric> #include<algorithm> using namespace std; typedef long long ll; const int inf=1<<30; const ll INF=1LL<<62; typedef pair<int,ll> P; typedef pair<int,P> PP; const ll MOD=998244353; int main(){ int T; cin >> T; string S = "RRRDDLLLDD"; for (int i = 0; i < 62500; i++){ S += "RRRRUUUULLLLDDDD"; } cout << S.substr(0, T) << endl; }