結果

問題 No.304 鍵(1)
ユーザー kotamanegi
提出日時 2016-05-19 21:59:41
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 754 bytes
コンパイル時間 807 ms
コンパイル使用メモリ 80,676 KB
実行使用メモリ 25,220 KB
平均クエリ数 309.17
最終ジャッジ日時 2024-07-16 23:43:48
合計ジャッジ時間 1,636 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <algorithm>
#include <utility>
#include <functional>
#include <cstring>
#include <queue>
#include <stack>
#include <math.h>
#include <iterator>
#include <vector>
#include <string>
#include <set>
#include <math.h>
#include <iostream> 
#include<map>
#include <stdlib.h>
#include <list>
#include <typeinfo>
#include <list>
#include <set>
#include <cstdint>
using namespace std;
#define MAX_MOD 1000000007
#define REP(i,n) for(int i = 0;i < n;++i)
int main() {
	for (int i = 0;i < 10;++i) {
		for (int q = 0;q < 10;++q) {
			for (int p = 0;p < 10;++p) {
				cout << i << q << p << endl;
				fflush(stdout);
				string a;
				cin >> a;
				if (a[0] == 'u') {
					goto end;
				}
			}
		}
	}
end:;
}
0