結果

問題 No.2228 Creeping Ghost
ユーザー みここみここ
提出日時 2023-02-24 21:50:41
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 227 bytes
コンパイル時間 662 ms
コンパイル使用メモリ 68,648 KB
実行使用メモリ 5,848 KB
最終ジャッジ日時 2023-10-11 06:07:56
合計ジャッジ時間 1,658 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
5,036 KB
testcase_01 AC 5 ms
4,900 KB
testcase_02 AC 5 ms
4,848 KB
testcase_03 AC 5 ms
4,940 KB
testcase_04 AC 4 ms
5,080 KB
testcase_05 AC 6 ms
5,828 KB
testcase_06 AC 6 ms
4,980 KB
testcase_07 AC 6 ms
5,776 KB
testcase_08 AC 6 ms
5,848 KB
testcase_09 AC 5 ms
5,008 KB
testcase_10 AC 5 ms
5,060 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main()
{
    string s = "RRRDLLDL";
    for (int i = 0; i < 100000; i++)
    {
        s += "DRDRRURUULULLDLD";
    }
    int t;
    cin >> t;
    cout << s.substr(0, t) << endl;
}
0