結果

問題 No.2228 Creeping Ghost
ユーザー Kome_soudouKome_soudou
提出日時 2023-02-24 22:52:22
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 16 ms / 2,000 ms
コード長 247 bytes
コンパイル時間 1,485 ms
コンパイル使用メモリ 165,480 KB
実行使用メモリ 5,328 KB
最終ジャッジ日時 2023-10-11 06:41:57
合計ジャッジ時間 2,591 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
5,176 KB
testcase_01 AC 4 ms
5,328 KB
testcase_02 AC 4 ms
5,136 KB
testcase_03 AC 4 ms
5,164 KB
testcase_04 AC 4 ms
5,124 KB
testcase_05 AC 16 ms
5,096 KB
testcase_06 AC 10 ms
5,032 KB
testcase_07 AC 16 ms
5,020 KB
testcase_08 AC 16 ms
5,124 KB
testcase_09 AC 10 ms
5,292 KB
testcase_10 AC 10 ms
5,072 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

using ll = long long;

int main()
{
	int T;
	cin >> T;
	string S = "DDRUDDDR";
	while(S.size() < 1000000) S += "RRUUUULLLLDDDDRR";
	for(int i = 0; i < T; i++) cout << S[i];
	cout << endl;
	return 0;
}
0