結果

問題 No.304 鍵(1)
ユーザー Kmcode1Kmcode1
提出日時 2015-11-27 22:32:02
言語 C++11
(gcc 11.4.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 771 bytes
コンパイル時間 919 ms
コンパイル使用メモリ 95,096 KB
実行使用メモリ 36,268 KB
最終ジャッジ日時 2023-09-23 20:50:12
合計ジャッジ時間 7,427 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<cstdio>
#include<cstring>
#include<string>
#include<cctype>
#include<cstdlib>
#include<algorithm>
#include<bitset>
#include<vector>
#include<list>
#include<deque>
#include<queue>
#include<map>
#include<set>
#include<stack>
#include<cmath>
#include<sstream>
#include<fstream>
#include<iomanip>
#include<ctime>
#include<complex>
#include<functional>
#include<climits>
#include<cassert>
#include<iterator>
#include<unordered_map>
#include<unordered_set>
using namespace std;

int main() {
	for (int i = 0;;i++) {
		string s;
		s.push_back(i % 100 + '0');
		int ii = i % 100;
		s.push_back(i % 10 + '0');
		ii /= 10;
		s.push_back(i + '0');
		cout << s << endl;
		string ans;
		cin >> ans;
		if (ans == "locked") {
			return 0;
		}
	}
	return 0;
}
0