結果

問題 No.304 鍵(1)
ユーザー shioshio
提出日時 2016-02-19 13:04:19
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 810 bytes
コンパイル時間 697 ms
コンパイル使用メモリ 82,960 KB
実行使用メモリ 24,012 KB
平均クエリ数 523.67
最終ジャッジ日時 2023-09-23 23:11:44
合計ジャッジ時間 1,602 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
24,012 KB
testcase_01 AC 34 ms
23,652 KB
testcase_02 AC 54 ms
24,012 KB
testcase_03 AC 36 ms
23,412 KB
testcase_04 AC 36 ms
23,376 KB
testcase_05 AC 58 ms
23,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <string>
#include<math.h>
#include<iomanip>
#include<stdio.h>
#include <stdlib.h>  
#include<map>
#include<set>
#include<queue>
#include <utility>
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <string>
#include<math.h>
#include<iomanip>
#include<stdio.h>
#include <stdlib.h>  
#include<map>
#include<set>
#include<queue>
#include <utility>
#include <sstream>

using namespace std;

int main() {
	string x = "000";
	for (int i = 0; i < 1000; i++) {
		int y = i;
		x[2] = y / 100 + '0';
		y %= 100;
		x[1] = y / 10 + '0';
		y %= 10;
		x[0] = y + '0';
	

		cout << x << endl;
		string p; cin >> p;
		if (p == "unlocked")return 0;
		
	}
	
	 return 0;
}

0