結果

問題 No.304 鍵(1)
ユーザー kongarishisyamokongarishisyamo
提出日時 2016-02-24 01:13:45
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 235 bytes
コンパイル時間 368 ms
コンパイル使用メモリ 52,160 KB
実行使用メモリ 23,640 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 23:12:00
合計ジャッジ時間 1,280 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
23,376 KB
testcase_01 AC 30 ms
23,544 KB
testcase_02 AC 64 ms
23,640 KB
testcase_03 AC 29 ms
23,340 KB
testcase_04 AC 47 ms
23,376 KB
testcase_05 AC 28 ms
23,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<string>

using namespace std;

int main(){

	string s;
	int c=1;
	cout<<"000"<<endl<<flush;

	while(cin>>s){
		if(s=="unlocked") break;
		else{
			cout<<c/100%10<<c/10%10<<c%10<<endl<<flush;
			c++;
		}
	}
}
0