結果

問題 No.304 鍵(1)
ユーザー Knots
提出日時 2020-10-18 18:16:17
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 443 bytes
コンパイル時間 2,489 ms
コンパイル使用メモリ 193,672 KB
最終ジャッジ日時 2025-01-15 11:39:03
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

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