結果

問題 No.2925 2-Letter Shiritori
コンテスト
ユーザー ふやけももんが
提出日時 2025-11-14 15:42:17
言語 C++17
(gcc 13.3.0 + boost 1.89.0)
結果
WA  
実行時間 -
コード長 287 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 1,707 ms
コンパイル使用メモリ 195,520 KB
実行使用メモリ 26,356 KB
平均クエリ数 3.08
最終ジャッジ日時 2025-11-14 15:42:21
合計ジャッジ時間 4,012 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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

int main(){
    string str;
    cin >> str;
    cout << "? aa" << endl;
    while(1){
        string a,b;
        cin >> a >> b;
        if(a == "!"){
            return 0;
        }
        cout  << "? " << b[1] << 'a' << endl;
    }
    
}
0