結果

問題 No.304 鍵(1)
ユーザー focusfocus
提出日時 2018-02-19 22:51:43
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
TLE  
実行時間 -
コード長 272 bytes
コンパイル時間 511 ms
コンパイル使用メモリ 68,656 KB
実行使用メモリ 35,580 KB
最終ジャッジ日時 2023-09-23 15:48:35
合計ジャッジ時間 7,004 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
int main(){
    string s1,s2;
    bool flag;
    cin >> s1;
    do{
        cin >> s2;
        if(s1==s2)  flag = true;  
        cout << "locked\n";
    }while(flag);
    cout << "unlocked\n";
}
0