結果

問題 No.305 鍵(2)
ユーザー sggkshiosggkshio
提出日時 2018-12-26 23:15:28
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 702 bytes
コンパイル時間 686 ms
コンパイル使用メモリ 84,616 KB
実行使用メモリ 24,552 KB
平均クエリ数 12.31
最終ジャッジ日時 2023-09-23 16:40:31
合計ジャッジ時間 3,988 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 23 ms
23,892 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _USE_MATH_DEFINES
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string>
#include<iostream>
#include<iostream>
#include<cctype>
#include<cstdio>
#include<vector>
#include<stack>
#include<queue>
#include <algorithm>
#include<math.h>
#include<set>
#include<map>
#include <sstream>
#include<iomanip>
#include <ctype.h>
#include <fstream>
#include <cassert>

using namespace std;

//#include<bits/stdc++.h>



int main() {

	string d = "0000000000";
	
	
	string a;
		int n, r = 0;
	for (int i = 0; i < 10; i++) {
	
		for (int j = 0; j < 10; j++) {
			fflush(0);
			cout << d << endl;
			cin >> n >> a;
			if (a == "unlocked")return 0;
			if (n > r)break;
			d[i]++;
		}
	}

	return 0;
}
0