結果

問題 No.304 鍵(1)
ユーザー michonz4michonz4
提出日時 2019-12-19 14:09:07
言語 C
(gcc 12.3.0)
結果
AC  
実行時間 30 ms / 2,000 ms
コード長 224 bytes
コンパイル時間 229 ms
コンパイル使用メモリ 27,464 KB
実行使用メモリ 24,384 KB
平均クエリ数 3.50
最終ジャッジ日時 2023-09-24 02:22:06
合計ジャッジ時間 1,023 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <stdio.h>
#include <string.h>

int main() {
  char s[9]="";
  int n[6]={0, 123, 999, 114, 514, 99}, i=0;

  while (s[0]!='u') {
    printf("%03d\n", n[i++]);
    fflush(stdout);
    scanf("%s", s);
  }
  return 0;
}
0