結果

問題 No.2228 Creeping Ghost
ユーザー hiro71687khiro71687k
提出日時 2023-03-04 10:42:02
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 405 bytes
コンパイル時間 4,220 ms
コンパイル使用メモリ 262,492 KB
実行使用メモリ 5,416 KB
最終ジャッジ日時 2023-10-18 04:13:31
合計ジャッジ時間 7,276 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,348 KB
testcase_01 AC 2 ms
4,348 KB
testcase_02 AC 2 ms
4,348 KB
testcase_03 AC 2 ms
4,348 KB
testcase_04 AC 1 ms
4,348 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
using ll=long long;
using ld=long double;
ld pie=3.14159265359;
ll inf=10010010010010010;
ll mod=998244353;
int main(){
    ll n;
    cin >> n;
    string s="RRRDLRLULRLDLRLU";
    string t;
    while (t.size()<n)
    {
        t+=s;
    }
    for (ll i = 0; i < n; i++)
    {
        cout << t[i];
    }
    
}
0