結果
問題 | No.304 鍵(1) |
ユーザー |
|
提出日時 | 2020-04-09 06:39:13 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 58 ms / 2,000 ms |
コード長 | 403 bytes |
コンパイル時間 | 614 ms |
コンパイル使用メモリ | 72,532 KB |
最終ジャッジ日時 | 2025-01-09 15:17:16 |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
ソースコード
#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; }