結果

問題 No.2228 Creeping Ghost
ユーザー jianglyjiangly
提出日時 2023-02-24 21:47:04
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 357 bytes
コンパイル時間 1,924 ms
コンパイル使用メモリ 196,984 KB
実行使用メモリ 5,352 KB
最終ジャッジ日時 2023-10-11 06:04:33
合計ジャッジ時間 3,770 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <bits/stdc++.h>

using i64 = long long;

int main() {
    std::ios::sync_with_stdio(false);
    std::cin.tie(nullptr);
    
    int T;
    std::cin >> T;
    
    std::string ans;
    ans += "RRDD";
    
    while (ans.size() < T) {
        ans += "RRDDLURLLUURDLR";
    }
    ans.resize(T);
    
    std::cout << ans << "\n";
    
    return 0;
}
0