結果
| 問題 | 
                            No.304 鍵(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             focus
                         | 
                    
| 提出日時 | 2018-02-19 22:52:28 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 300 bytes | 
| コンパイル時間 | 623 ms | 
| コンパイル使用メモリ | 68,480 KB | 
| 実行使用メモリ | 40,268 KB | 
| 最終ジャッジ日時 | 2024-07-16 15:34:31 | 
| 合計ジャッジ時間 | 7,099 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | TLE * 1 -- * 5 | 
ソースコード
#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;  
        else flag = false;
        cout << "locked\n";
    }while(!flag);
    cout << "unlocked\n";
}
            
            
            
        
            
focus