結果

問題 No.304 鍵(1)
ユーザー yamaken1343yamaken1343
提出日時 2015-12-03 21:59:54
言語 C90
(gcc 11.4.0)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 291 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 23,296 KB
実行使用メモリ 24,384 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 22:14:49
合計ジャッジ時間 1,015 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
24,384 KB
testcase_01 AC 31 ms
24,384 KB
testcase_02 AC 61 ms
24,204 KB
testcase_03 AC 28 ms
23,376 KB
testcase_04 AC 42 ms
23,412 KB
testcase_05 AC 28 ms
23,628 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
#include<string.h>
int main(void){
	int i=0,j=0,k=0,x;
	char a[10];
	do{
		if(i<10){
			printf("00%d\n",i);
		}else if(i<100){
			printf("0%d\n",i);
		}else{
			printf("%d\n",i);
		}
		fflush(stdout);
		scanf("%s",a);
		i++;
	}while(strcmp(a,"unlocked") != 0);
	return 0;
}
0