結果
| 問題 |
No.3069 Invisible Speedrun
|
| コンテスト | |
| ユーザー |
AngrySadEight
|
| 提出日時 | 2025-02-17 21:33:47 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 86 ms / 2,000 ms |
| コード長 | 346 bytes |
| コンパイル時間 | 458 ms |
| コンパイル使用メモリ | 66,276 KB |
| 実行使用メモリ | 25,960 KB |
| 平均クエリ数 | 585.15 |
| 最終ジャッジ日時 | 2025-02-17 21:33:56 |
| 合計ジャッジ時間 | 6,794 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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 << "R" << endl;
} else {
cout << "D" << endl;
}
int v;
cin >> v;
if (v != 0) {
break;
}
parity ^= 1;
}
}
AngrySadEight