結果
| 問題 |
No.3069 Invisible Speedrun
|
| コンテスト | |
| ユーザー |
SnowBeenDiding
|
| 提出日時 | 2025-03-21 22:34:07 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 82 ms / 2,000 ms |
| コード長 | 521 bytes |
| コンパイル時間 | 5,437 ms |
| コンパイル使用メモリ | 332,976 KB |
| 実行使用メモリ | 26,072 KB |
| 平均クエリ数 | 585.15 |
| 最終ジャッジ日時 | 2025-03-21 22:34:20 |
| 合計ジャッジ時間 | 12,685 ms |
|
ジャッジサーバーID (参考情報) |
judge7 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 80 |
ソースコード
#include <atcoder/all>
#include <bits/stdc++.h>
#define rep(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
using namespace atcoder;
using namespace std;
typedef long long ll;
int main() {
cin.tie(0);
cout.tie(0);
ios::sync_with_stdio(0);
int n;
cin >> n;
rep(i, 0, n * 2) {
if (i % 2)
cout << "R" << endl;
else
cout << "D" << endl;
fflush(stdout);
int x;
cin >> x;
if (x == 1) {
return 0;
}
}
}
SnowBeenDiding