結果

問題 No.304 鍵(1)
ユーザー dnish
提出日時 2017-07-04 00:44:25
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 249 bytes
コンパイル時間 1,643 ms
コンパイル使用メモリ 165,624 KB
実行使用メモリ 25,220 KB
平均クエリ数 309.17
最終ジャッジ日時 2024-07-17 01:16:02
合計ジャッジ時間 2,676 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define REP(i,n,N) for(int i=(n);i<(int) N;i++)
#define p(s) cout<<(s)<<endl
using namespace std;

int main(){
	string s;
	REP(i,0,1000){
		printf("%03d",i);
		cout<<endl;
		cin>>s;
		if(s=="unlocked") break;
	}
	return 0;
}
0