結果

問題 No.304 鍵(1)
ユーザー 184184
提出日時 2015-11-27 22:53:14
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 318 bytes
コンパイル時間 172 ms
コンパイル使用メモリ 24,548 KB
実行使用メモリ 24,372 KB
平均クエリ数 1.00
最終ジャッジ日時 2023-09-23 06:45:41
合計ジャッジ時間 2,093 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <cstdio>

int main(){
	
	char s[5]={},res[10];
	for(char i='0';i<'0'+10;i++){
		s[0]=i;
		for(int j='0';j<'0'+10;j++){
			s[1]=j;
			for(int k='0';k<'0';k++){
				s[2]=k;
				printf("%s\n",s);
				fflush(stdout);
				scanf("%s",&res);
				if(res[0]=='u'){
					return 0;
				}
			}
		}
	}
	
	
	
	
	return 0;
}
0