結果

問題 No.3069 Invisible Speedrun
ユーザー nouka28
提出日時 2025-03-21 21:50:54
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 82 ms / 2,000 ms
コード長 368 bytes
コンパイル時間 6,150 ms
コンパイル使用メモリ 333,532 KB
実行使用メモリ 26,356 KB
平均クエリ数 585.15
最終ジャッジ日時 2025-03-21 21:51:10
合計ジャッジ時間 12,634 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 80
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>

using namespace std;

#include<atcoder/all>
using namespace atcoder;
using mint=atcoder::modint998244353;

#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")

#define int long long

signed main(){
	int N;cin>>N;
	for(int i=0;i<2*N;i++){
		if(i%2==0)cout<<'D'<<endl;
		else cout<<'R'<<endl;
		int v;cin>>v;
		if(v==1)return 0;
	}
}
0