結果

問題 No.304 鍵(1)
ユーザー face4face4
提出日時 2018-04-24 20:02:47
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
TLE  
実行時間 -
コード長 320 bytes
コンパイル時間 586 ms
コンパイル使用メモリ 64,732 KB
実行使用メモリ 36,180 KB
最終ジャッジ日時 2023-09-23 16:00:32
合計ジャッジ時間 7,050 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
using namespace std;

int main(){
    int n = 0;
    while(true){
        string s;
        if(n < 100) s.append("0");
        if(n < 10)  s.append("0");
        s.append(to_string(n));
        cout << s << flush;
        cin >> s;
        if(s == "unlocked") break;
        n++;
    }
    return 0;
}
0