結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-12-26 23:15:28 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 702 bytes |
| コンパイル時間 | 792 ms |
| コンパイル使用メモリ | 86,036 KB |
| 実行使用メモリ | 25,568 KB |
| 平均クエリ数 | 12.31 |
| 最終ジャッジ日時 | 2024-07-16 16:32:39 |
| 合計ジャッジ時間 | 3,598 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 12 |
ソースコード
#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;
}