結果
問題 | No.304 鍵(1) |
ユーザー | knk |
提出日時 | 2017-09-26 21:01:19 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 55 ms / 2,000 ms |
コード長 | 475 bytes |
コンパイル時間 | 487 ms |
コンパイル使用メモリ | 72,860 KB |
実行使用メモリ | 24,060 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2023-09-24 01:33:08 |
合計ジャッジ時間 | 1,456 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 25 ms
23,460 KB |
testcase_01 | AC | 25 ms
24,060 KB |
testcase_02 | AC | 55 ms
23,436 KB |
testcase_03 | AC | 25 ms
23,964 KB |
testcase_04 | AC | 39 ms
23,676 KB |
testcase_05 | AC | 23 ms
23,604 KB |
ソースコード
#include <iostream> #include <iomanip> #include <vector> typedef long long ll; int main(void) { std::cin.tie(0); std::ios::sync_with_stdio(false); std::cout << std::fixed << std::setprecision(3); for (int i = 0; i < 1000; ++i) { if (i<10) std::cout << "00" << i << std::endl; else if (i<100) std::cout << "0" << i << std::endl; else std::cout << i << std::endl; std::string s; std::cin >> s; if (s == "unlocked") return 0; } return 0; }