結果
| 問題 |
No.3069 Invisible Speedrun
|
| コンテスト | |
| ユーザー |
AngrySadEight
|
| 提出日時 | 2025-02-17 20:33:35 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 84 ms / 2,000 ms |
| コード長 | 346 bytes |
| コンパイル時間 | 670 ms |
| コンパイル使用メモリ | 65,920 KB |
| 実行使用メモリ | 25,960 KB |
| 平均クエリ数 | 585.15 |
| 最終ジャッジ日時 | 2025-02-17 21:20:21 |
| 合計ジャッジ時間 | 8,390 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 80 |
ソースコード
#include <iostream>
using namespace std;
int main() {
int N;
cin >> N;
int parity = 0;
while (true) {
if (parity) {
cout << "D" << endl;
} else {
cout << "R" << endl;
}
int v;
cin >> v;
if (v != 0) {
break;
}
parity ^= 1;
}
}
AngrySadEight