結果

問題 No.304 鍵(1)
ユーザー koukonkokoukonko
提出日時 2018-08-24 14:05:05
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 416 bytes
コンパイル時間 601 ms
コンパイル使用メモリ 75,328 KB
実行使用メモリ 24,000 KB
平均クエリ数 309.00
最終ジャッジ日時 2023-09-23 16:13:27
合計ジャッジ時間 1,777 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
23,364 KB
testcase_01 AC 30 ms
23,988 KB
testcase_02 WA -
testcase_03 AC 30 ms
23,628 KB
testcase_04 AC 46 ms
23,652 KB
testcase_05 AC 29 ms
23,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <math.h>
#include <string>
#include <algorithm>
#include <sstream>
#include <iomanip>

typedef long long ll;
#define MIN(x, y) (x < y ? x : y)
#define MAX(x, y) (x > y ? x : y)

using namespace std;

int main(){
	ostringstream oss;
	for(int i = 0; i < 999; ++i){
		cout << setw(3) << setfill('0') << i << endl;

		string res;
		cin >> res;
		if(res == "unlocked"){
			return 0;
		}
	}
}
0