結果

問題 No.3069 Invisible Speedrun
ユーザー Andrew8128
提出日時 2025-03-21 22:27:20
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 371 bytes
コンパイル時間 877 ms
コンパイル使用メモリ 77,968 KB
実行使用メモリ 26,200 KB
平均クエリ数 585.15
最終ジャッジ日時 2025-03-21 22:27:30
合計ジャッジ時間 7,980 ms
ジャッジサーバーID
(参考情報)
judge6 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 80
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main()
{
  int N;
  cin >> N;
  for (int i = 0; i < 2*N; i++)
  {
    if (i % 2 == 1)
    {
      cout << 'D' << endl;
    }
    else
    {
      cout << 'R' << endl;
    }
    int v;
    cin >> v;
    if (v)
    {
      break;
    }
  }
  return 0;
}
/*
  File : ~/yukicoder/530/F.cpp
  Date : 2025/03/21
  Time : 22:26:08
*/
0