結果

問題 No.2925 2-Letter Shiritori
ユーザー erbowl
提出日時 2024-10-12 15:13:49
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 343 bytes
コンパイル時間 2,690 ms
コンパイル使用メモリ 244,960 KB
実行使用メモリ 25,196 KB
平均クエリ数 26.00
最終ジャッジ日時 2024-10-12 15:13:53
合計ジャッジ時間 4,294 ms
ジャッジサーバーID
(参考情報)
judge / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

typedef long long ll;
typedef long double ld;

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

signed main() {
    char a;
    std::cin >> a;
    std::cout << "? "<<a<<a << std::endl;
    while(true){
        string judge, T;
        std::cin >> judge>>T;
        if(T=="WIN")return 0;
        std::cout << "? "<<T[1]<<a << std::endl;
    }
};
0