結果
| 問題 |
No.2925 2-Letter Shiritori
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-10-12 15:09:27 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 228 ms / 2,000 ms |
| コード長 | 345 bytes |
| コンパイル時間 | 161 ms |
| コンパイル使用メモリ | 82,144 KB |
| 実行使用メモリ | 102,884 KB |
| 平均クエリ数 | 26.00 |
| 最終ジャッジ日時 | 2024-10-12 15:09:38 |
| 合計ジャッジ時間 | 3,882 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random
#sys.setrecursionlimit(10**9)
#sys.set_int_max_str_digits(0)
#input = sys.stdin.readline
a = input().rstrip()
print('?',a+a,flush=True)
for i in range(100):
x,y = input().split()
if x == '!':
exit()
print('?',y[-1]+a,flush=True)