結果
| 問題 | No.2925 2-Letter Shiritori |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-10-12 15:09:27 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 209 ms / 2,000 ms |
| コード長 | 345 bytes |
| 記録 | |
| コンパイル時間 | 223 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 106,272 KB |
| 平均クエリ数 | 26.00 |
| 最終ジャッジ日時 | 2026-04-29 16:08:30 |
| 合計ジャッジ時間 | 4,477 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)