結果

問題 No.304 鍵(1)
ユーザー tokutoku
提出日時 2019-03-25 18:18:59
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 921 bytes
コンパイル時間 1,413 ms
コンパイル使用メモリ 144,728 KB
実行使用メモリ 24,264 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 02:08:09
合計ジャッジ時間 2,288 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
23,412 KB
testcase_01 AC 31 ms
24,240 KB
testcase_02 AC 64 ms
23,448 KB
testcase_03 AC 30 ms
23,364 KB
testcase_04 AC 45 ms
23,988 KB
testcase_05 AC 29 ms
24,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>


using namespace std;
typedef long long ll;
#define REP(i,n) for(int i=0; i<int(n); i++)
#define FOR(i,m,n) for(int i=int(m); i<int(n); i++)
#define ALL(obj) (obj).begin(),(obj).end()
#define VI vector<int>
#define VLL vector<long long>
#define VVI vector<vector<int>>
#define VVLL vector<vector<long long>>
#define VC vector<char>
#define VS vector<string>
#define VVC vector<vector<char>>
#define fore(i,a) for(auto &i:a)

typedef pair <int, int> P;
template<class T> bool chmax(T &a, T b) { if (a < b) { a = b; return true; } return false; }
template<class T> bool chmin(T &a, T b) { if (a > b) { a = b; return true; } return false; }
const int  INF = 1 << 30;
const ll INFL = 1LL<<60;
const ll mod = 1000000007;		





int main() {
	while (true) {
		REP(i, 1000) {
			cout << setfill('0') << right << setw(3) << i << endl;
			string s;
			cin >> s;
			if (s == "unlocked") return 0;
		}
	}
}
0