結果

問題 No.304 鍵(1)
ユーザー kk
提出日時 2020-06-20 15:44:26
言語 C++17
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 319 bytes
コンパイル時間 2,045 ms
コンパイル使用メモリ 197,728 KB
実行使用メモリ 24,384 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 02:39:41
合計ジャッジ時間 2,884 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
23,400 KB
testcase_01 AC 29 ms
24,024 KB
testcase_02 AC 58 ms
23,820 KB
testcase_03 AC 28 ms
24,384 KB
testcase_04 AC 43 ms
24,036 KB
testcase_05 AC 27 ms
23,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

#define REP(i,n) for(int i=0; i<(int)(n); i++)

int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);

  REP (i, 10) REP (j, 10) REP (k, 10) {
    cout << i << j << k << endl;
    string s;
    cin >> s;
    if (s == "unlocked")
      return 0;
  }
  
  return 0;
}
0