結果
| 問題 |
No.3069 Invisible Speedrun
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-21 21:57:13 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 84 ms / 2,000 ms |
| コード長 | 462 bytes |
| コンパイル時間 | 3,908 ms |
| コンパイル使用メモリ | 273,452 KB |
| 実行使用メモリ | 26,228 KB |
| 平均クエリ数 | 585.15 |
| 最終ジャッジ日時 | 2025-03-21 21:57:25 |
| 合計ジャッジ時間 | 11,404 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge7 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 80 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
std::ios_base::sync_with_stdio(false);
std::cin.tie(nullptr);
int N;
cin >> N;
for(int t = 0; t < 2*N; t++) {
char D = (t & 1 ? 'D' : 'R');
cout << D << endl;
int v;
cin >> v;
if(v == 0) {
continue;
} else if(v == 1) {
exit(0);
} else {
vector<int>(1<<30);
}
}
}