結果

問題 No.304 鍵(1)
ユーザー rickythetarickytheta
提出日時 2015-11-28 20:53:07
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 727 bytes
コンパイル時間 2,053 ms
コンパイル使用メモリ 144,768 KB
実行使用メモリ 24,324 KB
平均クエリ数 167.50
最終ジャッジ日時 2023-09-23 08:09:39
合計ジャッジ時間 2,760 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef complex<double> P;
typedef pair<int,int> pii;
#define REP(i,n) for(ll i=0;i<n;++i)
#define REPR(i,n) for(ll i=1;i<n;++i)
#define FOR(i,a,b) for(ll i=a;i<b;++i)

#define DEBUG(x) cout<<#x<<": "<<x<<endl
#define DEBUG_VEC(v) cout<<#v<<":";REP(i,v.size())cout<<" "<<v[i];cout<<endl
#define ALL(a) (a).begin(),(a).end()

#define MOD (ll)(1e9+7)
#define ADD(a,b) a=((a)+(b))%MOD
#define FIX(a) ((a)%MOD+MOD)%MOD

int main(){
  REP(i,1000){
    string s;
    s += (i%10)+'0';
    s += (i/10)%10+'0';
    s += (i/100)%10+'0';
    cout << s << endl;
    cin >> s;
    if(s == "locked")break;
  }
  return 0;
}
0