結果

問題 No.304 鍵(1)
ユーザー d2verbd2verb
提出日時 2015-11-27 22:37:37
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 59 ms / 2,000 ms
コード長 429 bytes
コンパイル時間 473 ms
コンパイル使用メモリ 52,820 KB
実行使用メモリ 24,264 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 20:54:35
合計ジャッジ時間 1,219 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
23,676 KB
testcase_01 AC 27 ms
23,664 KB
testcase_02 AC 59 ms
24,264 KB
testcase_03 AC 27 ms
24,264 KB
testcase_04 AC 42 ms
24,072 KB
testcase_05 AC 26 ms
23,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main(void){
  for(int i = 0; i <= 9; i++){
    for(int j = 0; j <= 9; j++){
      for(int k = 0; k <= 9; k++){
        string str = "";
        str += i + '0';
        str += j + '0';
        str += k + '0';
        cout << str << endl;
        string result;
        cin >> result;
        if(result == "unlocked"){
          goto END;
        }
      }
    }
  }
END:
  return 0;
}
0