結果
| 問題 |
No.2228 Creeping Ghost
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-02-24 21:50:41 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 6 ms / 2,000 ms |
| コード長 | 227 bytes |
| コンパイル時間 | 667 ms |
| コンパイル使用メモリ | 67,424 KB |
| 最終ジャッジ日時 | 2025-02-10 20:53:51 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 7 |
ソースコード
#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;
}