結果

問題 No.304 鍵(1)
ユーザー HankHank
提出日時 2016-06-03 15:56:43
言語 C90
(gcc 11.4.0)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 283 bytes
コンパイル時間 183 ms
コンパイル使用メモリ 23,284 KB
実行使用メモリ 24,060 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 00:04:56
合計ジャッジ時間 1,020 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
23,400 KB
testcase_01 AC 28 ms
23,640 KB
testcase_02 AC 53 ms
23,628 KB
testcase_03 AC 23 ms
23,556 KB
testcase_04 AC 37 ms
24,060 KB
testcase_05 AC 24 ms
23,688 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

  return 0;
}
0