結果

問題 No.304 鍵(1)
ユーザー m1025o1184tm1025o1184t
提出日時 2019-11-29 14:22:17
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 322 bytes
コンパイル時間 1,548 ms
コンパイル使用メモリ 166,856 KB
実行使用メモリ 24,396 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 02:21:58
合計ジャッジ時間 2,482 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
24,396 KB
testcase_01 AC 29 ms
24,336 KB
testcase_02 AC 61 ms
23,448 KB
testcase_03 AC 29 ms
24,372 KB
testcase_04 AC 43 ms
23,412 KB
testcase_05 AC 27 ms
24,300 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(n);++i)
using namespace std;

int main(){
    int res = 0;
    string elf = "locked";
    
    while(elf == "locked" && res < 1000){
        cout << setfill('0') << right << setw(3) << to_string(res) << endl;
        cin >> elf;
        res++;
    }
    return 0;
}
0