結果

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

ソースコード

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