結果

問題 No.304 鍵(1)
ユーザー alpha_virginisalpha_virginis
提出日時 2016-08-30 11:57:11
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 391 bytes
コンパイル時間 1,445 ms
コンパイル使用メモリ 165,084 KB
実行使用メモリ 23,592 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 00:29:12
合計ジャッジ時間 2,335 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
23,424 KB
testcase_01 AC 28 ms
23,328 KB
testcase_02 AC 61 ms
23,592 KB
testcase_03 AC 27 ms
23,352 KB
testcase_04 AC 44 ms
23,340 KB
testcase_05 AC 28 ms
23,592 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

int main() {
  std::string str;

  for(int i = 0; i < 10; ++i) {
    for(int j = 0; j < 10; ++j) {
      for(int k = 0; k < 10; ++k) {
        std::cout << (char)((char)i + '0') << (char)(j + '0') << (char)(k + '0') << std::endl;
        std::cin >> str;
        if( str == "unlocked" ) {
          return 0;
        }
      }
    }
  }
            

  return 0;
}
0