結果
問題 | No.304 鍵(1) |
ユーザー | くれちー |
提出日時 | 2016-08-26 13:48:09 |
言語 | C90 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 56 ms / 2,000 ms |
コード長 | 235 bytes |
コンパイル時間 | 188 ms |
コンパイル使用メモリ | 23,432 KB |
実行使用メモリ | 24,084 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2023-09-24 00:28:28 |
合計ジャッジ時間 | 1,166 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 25 ms
23,604 KB |
testcase_01 | AC | 23 ms
24,084 KB |
testcase_02 | AC | 56 ms
23,316 KB |
testcase_03 | AC | 23 ms
23,988 KB |
testcase_04 | AC | 36 ms
24,072 KB |
testcase_05 | AC | 22 ms
23,592 KB |
ソースコード
#include <stdio.h> #include <string.h> int main() { char state[9]; int i; for (i = 0; i <= 999; i++) { printf("%03d\n", i); fflush(stdout); scanf("%s", state); if (strcmp(state, "unlocked") == 0) return 0; } return 0; }