結果

問題 No.304 鍵(1)
ユーザー ミドリムシミドリムシ
提出日時 2017-10-29 17:44:37
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 62 ms / 2,000 ms
コード長 399 bytes
コンパイル時間 2,035 ms
コンパイル使用メモリ 51,936 KB
実行使用メモリ 24,192 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 01:35:37
合計ジャッジ時間 1,568 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
23,784 KB
testcase_01 AC 30 ms
23,292 KB
testcase_02 AC 62 ms
23,916 KB
testcase_03 AC 29 ms
24,192 KB
testcase_04 AC 44 ms
24,120 KB
testcase_05 AC 30 ms
23,532 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream> 
using namespace std;
 
int main(){
    for(int i = 0; i < 1000; i++){
        if(i < 10){
            cout << "00" << i << endl;
        }else if(i < 100){
            cout << "0" << i << endl;
        }else{
            cout << i << endl;
        }
        string if_locked;
        cin >> if_locked;
        if(if_locked == "unlocked"){
            return 0;
        }
    }
}
0