結果
問題 | No.304 鍵(1) |
ユーザー | Haijinn |
提出日時 | 2018-02-13 21:57:52 |
言語 | C90 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 61 ms / 2,000 ms |
コード長 | 248 bytes |
コンパイル時間 | 246 ms |
コンパイル使用メモリ | 23,792 KB |
実行使用メモリ | 24,396 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2023-09-24 01:38:34 |
合計ジャッジ時間 | 1,185 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 29 ms
24,048 KB |
testcase_01 | AC | 28 ms
23,376 KB |
testcase_02 | AC | 61 ms
24,396 KB |
testcase_03 | AC | 28 ms
24,348 KB |
testcase_04 | AC | 44 ms
23,652 KB |
testcase_05 | AC | 27 ms
24,360 KB |
ソースコード
#include<stdio.h> #include<string.h> #include<stdlib.h> int main(){ int a; int i; char s[1000][10]; for(i=0;i<=999;i++){ printf("%03d\n",i); fflush(stdout); scanf("%s",s[i]); if(strcmp(s[i],"unlocked")==0){ break; } } return 0; }