結果

問題 No.304 鍵(1)
ユーザー maine_honzuki
提出日時 2021-05-14 19:17:56
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 62 ms / 2,000 ms
コード長 274 bytes
コンパイル時間 2,187 ms
コンパイル使用メモリ 193,204 KB
最終ジャッジ日時 2025-01-21 11:04:06
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

//https://ncode.syosetu.com/n4830bu/304/
#include <bits/stdc++.h>
using namespace std;

int main() {
    for (int i = 0;; i++) {
        cout << setw(3) << setfill('0') << i << endl;
        string s;
        cin >> s;
        if (s[0] == 'u')
            return 0;
    }
}
0