結果

問題 No.304 鍵(1)
ユーザー cormorancormoran
提出日時 2016-05-31 18:10:34
言語 C++11
(gcc 11.4.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 309 bytes
コンパイル時間 452 ms
コンパイル使用メモリ 63,284 KB
実行使用メモリ 35,256 KB
最終ジャッジ日時 2023-09-24 00:01:41
合計ジャッジ時間 6,951 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <iostream>
#include <vector>
#include <string>
#include <iomanip>
using namespace std;
int main() {
    int n = 0;
    cout.fill('0');
    while(true) {
        string s; cin >> s;
        if(s == "unlocked") break;
        cout << setw(3) << n++ << endl;
        cout.flush();
    }
    return 0;
}
0