結果
| 問題 | No.2925 2-Letter Shiritori | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2024-10-12 17:21:09 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 636 bytes | 
| コンパイル時間 | 192 ms | 
| コンパイル使用メモリ | 82,576 KB | 
| 実行使用メモリ | 79,836 KB | 
| 平均クエリ数 | 2.00 | 
| 最終ジャッジ日時 | 2024-10-12 17:21:21 | 
| 合計ジャッジ時間 | 2,413 ms | 
| ジャッジサーバーID (参考情報) | judge / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 2 | 
| other | WA * 10 | 
ソースコード
import sys
import math
from itertools import product, permutations, combinations, accumulate
from heapq import heapify, heappush, heappop
from collections import deque, defaultdict, Counter
from bisect import bisect, bisect_left, bisect_right
from copy import copy, deepcopy
#from sortedcontainers import SortedSet, SortedList, SortedDict
sys.setrecursionlimit(10**7)
INF = float('inf')
LINF = 1 << 60
MOD = 10**9+7
def mii():
    return map(int, sys.stdin.readline().split())
a = input()
print(r"?", a + a, flush=True)
while True:
    o, aa = input().split()
    if o == "!":
        break
    print(r"?", a + aa[1], flush=True)
            
            
            
        