結果
問題 | No.304 鍵(1) |
ユーザー | Elk |
提出日時 | 2018-06-06 00:49:04 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 60 ms / 2,000 ms |
コード長 | 276 bytes |
コンパイル時間 | 239 ms |
コンパイル使用メモリ | 30,084 KB |
実行使用メモリ | 24,276 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2023-09-24 01:47:50 |
合計ジャッジ時間 | 1,194 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 27 ms
24,048 KB |
testcase_01 | AC | 29 ms
23,520 KB |
testcase_02 | AC | 60 ms
23,544 KB |
testcase_03 | AC | 28 ms
24,276 KB |
testcase_04 | AC | 44 ms
23,232 KB |
testcase_05 | AC | 28 ms
23,688 KB |
ソースコード
#include <stdio.h> #include <string.h> int main(){ int i; char str[16] = {'\0'}; for(i = 0; i < 1000; i++){ printf("%03d\n", i); fflush(stdout); scanf("%s", str); if(strcmp(str, "unlocked") == 0) break; } return 0; }