結果
問題 | No.304 鍵(1) |
ユーザー | Mister |
提出日時 | 2020-04-09 06:39:13 |
言語 | C++17 (gcc 12.3.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 60 ms / 2,000 ms |
コード長 | 403 bytes |
コンパイル時間 | 560 ms |
コンパイル使用メモリ | 73,112 KB |
実行使用メモリ | 24,036 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2023-09-24 02:33:53 |
合計ジャッジ時間 | 1,478 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 29 ms
23,424 KB |
testcase_01 | AC | 28 ms
24,036 KB |
testcase_02 | AC | 60 ms
23,364 KB |
testcase_03 | AC | 28 ms
23,652 KB |
testcase_04 | AC | 42 ms
24,036 KB |
testcase_05 | AC | 27 ms
23,676 KB |
ソースコード
#include <iostream> #include <iomanip> #include <string> void solve() { for (int i = 0; i < 1000; ++i) { std::cout << std::setw(3) << std::setfill('0') << i << std::endl; std::string s; std::cin >> s; if (s == "unlocked") break; } } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }