結果
問題 | No.304 鍵(1) |
ユーザー | Bantako |
提出日時 | 2017-07-18 20:54:04 |
言語 | C++11 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 53 ms / 2,000 ms |
コード長 | 214 bytes |
コンパイル時間 | 377 ms |
コンパイル使用メモリ | 25,256 KB |
実行使用メモリ | 24,012 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2023-09-24 01:24:43 |
合計ジャッジ時間 | 1,300 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 24 ms
23,640 KB |
testcase_01 | AC | 23 ms
24,012 KB |
testcase_02 | AC | 53 ms
23,628 KB |
testcase_03 | AC | 24 ms
23,388 KB |
testcase_04 | AC | 40 ms
24,012 KB |
testcase_05 | AC | 22 ms
23,688 KB |
コンパイルメッセージ
main.cpp:3:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main(){ ^
ソースコード
#include<stdio.h> #include<string.h> main(){ for(int i = 0;i <= 999;i++){ printf("%03d\n",i); fflush(0); char S[9]; scanf("%s",S); if(!strcmp(S,"unlocked"))break; } }