結果

問題 No.304 鍵(1)
ユーザー Konton7
提出日時 2020-01-14 23:22:44
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 367 bytes
コンパイル時間 1,757 ms
コンパイル使用メモリ 193,560 KB
最終ジャッジ日時 2025-01-08 18:05:34
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;
typedef long long ll;



int main(){
    string p, ret;
    for (int i = 0; i < 1000; i++){
        p = "";
        if (i < 10)
            p = "00";
        else if (i < 100)
            p = "0";
        cout << p << i << endl;
        cin >> ret;
        if (ret == "unlocked")
            break;
    }
    return 0;
}
0