結果

問題 No.5006 Hidden Maze
ユーザー platinum
提出日時 2022-05-11 12:58:22
言語 C++17(gcc12)
(gcc 12.3.0 + boost 1.87.0)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 464 bytes
コンパイル時間 1,664 ms
実行使用メモリ 22,636 KB
スコア 1,000
平均クエリ数 991.00
最終ジャッジ日時 2022-06-12 13:31:31
合計ジャッジ時間 12,260 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
純コード判定しない問題か言語
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 100
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i,n) for(int i = 0; i < (int)(n); i++)

using namespace std;
using LL = long long;
using P = pair<int,int>;
using vv = vector<vector<int>>;
const int INF = (int)1e9;
const LL LINF = (LL)1e18;

int main(){
	int H, W, p;
	cin >> H >> W >> p;
	rep(i,1001){
		string ans;
		rep(j,19) ans += 'R';
		rep(j,19) ans += 'D';
		cout << ans << endl;
		int res;
		cin >> res;
		cerr << res << endl;
		if(res == -1) break;
	}

	return 0;
}
0