結果
問題 | No.3069 Invisible Speedrun |
ユーザー |
![]() |
提出日時 | 2025-03-21 21:47:16 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 83 ms / 2,000 ms |
コード長 | 462 bytes |
コンパイル時間 | 3,682 ms |
コンパイル使用メモリ | 274,408 KB |
実行使用メモリ | 25,972 KB |
平均クエリ数 | 585.15 |
最終ジャッジ日時 | 2025-03-21 21:47:31 |
合計ジャッジ時間 | 11,969 ms |
ジャッジサーバーID (参考情報) |
judge7 / judge6 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 80 |
ソースコード
#include <bits/stdc++.h> //#include <atcoder/modint> using namespace std; //using namespace atcoder; using ll = long long; //using mint = modint998244353; int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); int N, d; cin >> N; for (int i=0; i<N*2; i++){ if (i % 2 == 0) cout << 'D' << endl; else cout << 'R' << endl; cin >> d; if (d == 1){ return 0; } } return 0; }