結果

問題 No.304 鍵(1)
ユーザー rogi52rogi52
提出日時 2022-09-26 21:11:32
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 400 bytes
コンパイル時間 1,915 ms
コンパイル使用メモリ 197,628 KB
実行使用メモリ 24,252 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 03:06:37
合計ジャッジ時間 2,863 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
24,252 KB
testcase_01 AC 31 ms
23,700 KB
testcase_02 AC 64 ms
23,640 KB
testcase_03 AC 30 ms
23,340 KB
testcase_04 AC 46 ms
24,048 KB
testcase_05 AC 30 ms
23,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i,n) for(int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;

int main(){
    cin.tie(0);
    ios::sync_with_stdio(0);
    
    for(int i = 0; i < 1000; i++) {
        if(i < 100) cout << "0";
        if(i < 10) cout << "0";
        cout << i << endl;
        cout.flush();
        string s; cin >> s;
        if(s == "unlocked") return 0;
    }
}
0