結果

問題 No.304 鍵(1)
ユーザー kongarishisyamo
提出日時 2016-02-24 01:13:45
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 235 bytes
コンパイル時間 777 ms
コンパイル使用メモリ 56,548 KB
実行使用メモリ 25,604 KB
平均クエリ数 309.17
最終ジャッジ日時 2024-07-16 22:57:11
合計ジャッジ時間 1,284 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

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