結果

問題 No.304 鍵(1)
ユーザー youthfuldays072youthfuldays072
提出日時 2018-08-18 19:53:26
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 593 bytes
コンパイル時間 474 ms
コンパイル使用メモリ 74,804 KB
実行使用メモリ 24,312 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 01:52:38
合計ジャッジ時間 1,349 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
23,304 KB
testcase_01 AC 29 ms
24,240 KB
testcase_02 AC 53 ms
24,180 KB
testcase_03 AC 28 ms
24,312 KB
testcase_04 AC 38 ms
24,048 KB
testcase_05 AC 22 ms
23,664 KB
権限があれば一括ダウンロードができます

ソースコード

diff #


#include<iostream>
#include<string>
#include<algorithm>
#include<functional>
#include<vector>
#include<set>
#include<queue>
#include<list>
#include<stdio.h>
#include<stdlib.h>
#include<map>
#include<cstdio>
#include <iomanip>

#define rep(i,a,b) for(int i=a;i<b;i++)
#define rrep(i,a,b) for(int i=a;i>=b;i--)
#define fore(i,a) for(auto &i:a)
#define all(x) (x).begin(),(x).end()

typedef long long ll;

using namespace std;

int main() {
	for (int i = 0; i < 1000; i++) {
		cout << setfill('0') << setw(3) << i << endl;
		string s; cin >> s;
		if (s == "unlocked") return 0;
	}
	return 0;
}
0