結果

問題 No.304 鍵(1)
ユーザー shio
提出日時 2016-02-19 13:04:19
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 67 ms / 2,000 ms
コード長 810 bytes
コンパイル時間 776 ms
コンパイル使用メモリ 86,540 KB
実行使用メモリ 25,448 KB
平均クエリ数 523.67
最終ジャッジ日時 2024-07-16 22:56:51
合計ジャッジ時間 1,924 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <string>
#include<math.h>
#include<iomanip>
#include<stdio.h>
#include <stdlib.h>  
#include<map>
#include<set>
#include<queue>
#include <utility>
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <string>
#include<math.h>
#include<iomanip>
#include<stdio.h>
#include <stdlib.h>  
#include<map>
#include<set>
#include<queue>
#include <utility>
#include <sstream>

using namespace std;

int main() {
	string x = "000";
	for (int i = 0; i < 1000; i++) {
		int y = i;
		x[2] = y / 100 + '0';
		y %= 100;
		x[1] = y / 10 + '0';
		y %= 10;
		x[0] = y + '0';
	

		cout << x << endl;
		string p; cin >> p;
		if (p == "unlocked")return 0;
		
	}
	
	 return 0;
}

0