結果

問題 No.304 鍵(1)
ユーザー KnotsKnots
提出日時 2020-10-18 18:16:17
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 443 bytes
コンパイル時間 1,907 ms
コンパイル使用メモリ 199,104 KB
実行使用メモリ 24,348 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 02:47:42
合計ジャッジ時間 3,123 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 24 ms
24,324 KB
testcase_01 AC 24 ms
24,000 KB
testcase_02 AC 54 ms
23,532 KB
testcase_03 AC 24 ms
24,348 KB
testcase_04 AC 38 ms
23,844 KB
testcase_05 AC 23 ms
23,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

const int INF = 1e9;
const int MOD = 1e9+7;
const ll LINF = 1e18;

#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n) for(int i=0;i<(n);++i)
#define COUT(x) cout<<(x)<<"\n"

int main(){
    string s;
    REP(i,1000){
        cout << setfill('0') << right << setw(3) << i << endl;
        cin >> s;
        if(s=="unlocked"){
            return 0;
        }
    }
}
0