結果
| 問題 | 
                            No.3069 Invisible Speedrun
                             | 
                    
| コンテスト | |
| ユーザー | 
                             Ponzu
                         | 
                    
| 提出日時 | 2025-03-21 22:15:55 | 
| 言語 | C++23  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 303 bytes | 
| コンパイル時間 | 843 ms | 
| コンパイル使用メモリ | 83,860 KB | 
| 実行使用メモリ | 26,356 KB | 
| 平均クエリ数 | 586.74 | 
| 最終ジャッジ日時 | 2025-03-21 22:16:06 | 
| 合計ジャッジ時間 | 8,370 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 1 | 
| other | WA * 80 | 
ソースコード
#include<iostream>
#include<vector>
using namespace std;
const int di[] = {0,-1,0,1};
const int dj[] = {1,0,-1,0};
int main()
{
	int N;
	cin >> N;
	string cmd = "LURD";
	for(int i=0;i<2*N;++i)
	{
		if(i&1)cout << 'L' << endl;
		else cout << 'U' << endl;
		char c; 
		cin >> c;
		if(c==1) return 0;
	}
}
            
            
            
        
            
Ponzu