結果

問題 No.304 鍵(1)
ユーザー knk
提出日時 2017-09-26 21:01:19
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 60 ms / 2,000 ms
コード長 475 bytes
コンパイル時間 797 ms
コンパイル使用メモリ 72,992 KB
実行使用メモリ 25,476 KB
平均クエリ数 309.17
最終ジャッジ日時 2024-07-17 01:28:07
合計ジャッジ時間 1,820 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <iomanip>
#include <vector>

typedef long long ll;

int main(void)
{
  std::cin.tie(0);
  std::ios::sync_with_stdio(false);
  std::cout << std::fixed << std::setprecision(3);
  for (int i = 0; i < 1000; ++i) {
    if (i<10) std::cout << "00" << i << std::endl;
    else if (i<100) std::cout << "0" << i << std::endl;
    else std::cout << i << std::endl;
    std::string s;
    std::cin >> s;
    if (s == "unlocked") return 0;
  }
  return 0;
}
0