結果

問題 No.2925 2-Letter Shiritori
ユーザー timi
提出日時 2024-10-12 15:40:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 106 ms / 2,000 ms
コード長 182 bytes
コンパイル時間 404 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 68,680 KB
平均クエリ数 26.00
最終ジャッジ日時 2024-10-12 15:40:54
合計ジャッジ時間 2,683 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

a=input()


for i in range(26):
  if i==0:
    c=a+a
    print('?',c)
  else:
    c=t+a
    print('?',c)   
    
  x,y=input().split()
  if x=='!':
    exit()
  if x=='?':
    t=y[1]
0