結果

問題 No.2925 2-Letter Shiritori
ユーザー cled0328
提出日時 2024-10-12 15:23:16
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 321 bytes
コンパイル時間 2,098 ms
コンパイル使用メモリ 195,048 KB
最終ジャッジ日時 2025-02-24 18:02:15
ジャッジサーバーID
(参考情報)
judge5 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 2
other RE * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main(){
    string a;cin>>a;
    cout<<"? "<<a<<a<<endl;
    string p;
    for(int i=0;i<27;i++){
        cin>>p;
        if(p=="!"){
            cin>>p;
            assert(p=="WIN");
            return 0;
        }
        cout<<"? "<<p[1]<<a<<endl;
    }
    cin>>p;
}
0