結果
| 問題 |
No.2925 2-Letter Shiritori
|
| コンテスト | |
| ユーザー |
manuo
|
| 提出日時 | 2024-10-12 15:46:33 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 111 ms / 2,000 ms |
| コード長 | 524 bytes |
| コンパイル時間 | 185 ms |
| コンパイル使用メモリ | 82,844 KB |
| 実行使用メモリ | 74,156 KB |
| 平均クエリ数 | 26.00 |
| 最終ジャッジ日時 | 2024-10-12 15:46:39 |
| 合計ジャッジ時間 | 2,411 ms |
|
ジャッジサーバーID (参考情報) |
judge / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
from collections import deque, defaultdict, Counter
from bisect import bisect_left, bisect_right
from itertools import permutations, combinations
from functools import cmp_to_key, cache
from heapq import heappop, heappush
import math, sys
import pypyjit
pypyjit.set_param('max_unroll_recursion=-1')
sys.setrecursionlimit(10**7)
_int = lambda x: int(x)-1
MOD = 998244353
INF = 1<<62
Yes, No = "Yes", "No"
C = input()
print(f"? {C+C}")
while 1:
t, res = input().split()
if t == "!": break
print(f"? {res[1]+C}")
manuo