結果

問題 No.304 鍵(1)
ユーザー fumi6328fumi6328
提出日時 2018-09-14 21:48:52
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 365 bytes
コンパイル時間 1,891 ms
コンパイル使用メモリ 62,092 KB
実行使用メモリ 24,264 KB
平均クエリ数 346.00
最終ジャッジ日時 2023-09-23 16:19:46
合計ジャッジ時間 1,735 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
23,352 KB
testcase_01 AC 28 ms
23,508 KB
testcase_02 WA -
testcase_03 AC 28 ms
24,264 KB
testcase_04 AC 41 ms
23,628 KB
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
using namespace std;

int main()
{
    string ans;
    for(int i = 0; i < 9; i++){
        for(int j = 0; j < 9; j++){
            for(int k = 0; k < 9; k++){
                cout << i << j << k << endl;
                cin >> ans;
                if(ans == "unlocked") return 0;
            }
        }
    }
}
0