結果
問題 | No.304 鍵(1) |
ユーザー | RCCW |
提出日時 | 2017-02-07 18:37:23 |
言語 | C++11 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 60 ms / 2,000 ms |
コード長 | 245 bytes |
コンパイル時間 | 1,280 ms |
コンパイル使用メモリ | 142,848 KB |
実行使用メモリ | 24,312 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2023-09-24 00:53:09 |
合計ジャッジ時間 | 1,979 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 27 ms
24,312 KB |
testcase_01 | AC | 28 ms
23,388 KB |
testcase_02 | AC | 60 ms
24,048 KB |
testcase_03 | AC | 27 ms
23,808 KB |
testcase_04 | AC | 42 ms
23,376 KB |
testcase_05 | AC | 25 ms
24,024 KB |
ソースコード
#include <bits/stdc++.h> #include <iostream> #include <string> #include <stdlib.h> using namespace std; int main() { string s; for (int i = 0; i < 1000; ++i) { printf("%03d\n",i); fflush(0); cin>>s; if(s=="unlocked"){ return 0; } } }