結果

問題 No.304 鍵(1)
ユーザー oooooba
提出日時 2021-02-02 21:34:30
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 83 ms / 2,000 ms
コード長 426 bytes
コンパイル時間 1,563 ms
コンパイル使用メモリ 102,796 KB
最終ジャッジ日時 2025-01-18 10:55:32
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <algorithm>
#include <array>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <numeric>
#include <optional>
#include <queue>
#include <unordered_map>
#include <unordered_set>
#include <vector>

using namespace std;

int main() {
    for (auto i = 0; i < 1000; ++i) {
        printf("%03d\n", i);
        string s;
        cin >> s;
        if (s == "unlocked")
            break;
    }
    return 0;
}
0