結果

問題 No.2925 2-Letter Shiritori
ユーザー 学ぶマン
提出日時 2024-10-12 16:29:58
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 524 bytes
コンパイル時間 682 ms
コンパイル使用メモリ 81,792 KB
実行使用メモリ 68,680 KB
平均クエリ数 3.00
最終ジャッジ日時 2024-10-12 16:30:05
合計ジャッジ時間 2,768 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys, math
sys.set_int_max_str_digits(0)
inf = 1<<60
MOD = 998244353

default = input()
shote = default + default
#material = []
alphas = 'abcdefghijklmnopqrstuvwxyz'
#for s in alphas:
#    if s == default:
#        continue
#    material.append(s + default)

# 'default'でおわるやつでいじめる
#material.append(default + default)
#print(material)

while True:
    print('?', shote)

    sign, t = input().split()
    if sign == '?':
        ans = t + default
        print('?', ans)
    else:
        break
0