結果

問題 No.304 鍵(1)
ユーザー aitdccdaitdccd
提出日時 2018-01-11 22:49:47
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 67 ms / 2,000 ms
コード長 345 bytes
コンパイル時間 1,891 ms
コンパイル使用メモリ 164,876 KB
実行使用メモリ 23,652 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 01:37:29
合計ジャッジ時間 2,254 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
23,652 KB
testcase_01 AC 29 ms
23,340 KB
testcase_02 AC 67 ms
23,388 KB
testcase_03 AC 25 ms
23,532 KB
testcase_04 AC 38 ms
23,520 KB
testcase_05 AC 23 ms
23,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

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

int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);

    REP(i, 1000) {
        cout << setfill('0') << setw(3);
        cout << i << endl;

        string s;
        cin >> s;
        if (s == "unlocked") return 0;
    }
}
0