結果

問題 No.3069 Invisible Speedrun
ユーザー umezo
提出日時 2025-03-22 03:58:33
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 84 ms / 2,000 ms
コード長 451 bytes
コンパイル時間 3,523 ms
コンパイル使用メモリ 273,516 KB
実行使用メモリ 26,228 KB
平均クエリ数 585.15
最終ジャッジ日時 2025-03-22 03:58:45
合計ジャッジ時間 11,473 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 80
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define ALL(v) v.begin(),v.end()
typedef long long ll;
template <class T> using V=vector<T>;
template <class T> using VV=V<V<T>>;
 
int main(){
  ios::sync_with_stdio(false);
  std::cin.tie(nullptr);
  
  int n;
  cin>>n;
  rep(i,2*n){
    if(i%2==0) cout<<'R'<<endl;
    else cout<<'D'<<endl;
    int v;
    cin>>v;
    if(v!=0) return 0;
  }
  
  return 0;
}
0