結果

問題 No.304 鍵(1)
ユーザー umashikaumashika
提出日時 2016-01-30 00:06:17
言語 C90
(gcc 11.4.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 355 bytes
コンパイル時間 355 ms
コンパイル使用メモリ 23,200 KB
実行使用メモリ 36,296 KB
最終ジャッジ日時 2023-09-23 23:08:11
合計ジャッジ時間 6,666 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include<stdio.h>
#include<string.h>
int main(void){
  int i=0;
  char str[9];
  do{
    if(i<10){
      printf("%03d\n",i);
    }
    else if(i<100){
      printf("%02d\n",i);
    }else{
      printf("%d\n",i);
    }
    scanf("%s",str);
    i++;
  }while(strcmp(str,"unlocked")!=0);//strがunlockedと一致しないかぎり継続
  return 0;
}







0