結果

問題 No.304 鍵(1)
ユーザー dnishdnish
提出日時 2017-07-04 00:44:25
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 62 ms / 2,000 ms
コード長 249 bytes
コンパイル時間 1,321 ms
コンパイル使用メモリ 163,776 KB
実行使用メモリ 23,976 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 01:21:26
合計ジャッジ時間 2,437 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
23,544 KB
testcase_01 AC 25 ms
23,964 KB
testcase_02 AC 62 ms
23,976 KB
testcase_03 AC 27 ms
23,460 KB
testcase_04 AC 44 ms
23,424 KB
testcase_05 AC 25 ms
23,748 KB
権限があれば一括ダウンロードができます

ソースコード

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