結果
問題 | No.2925 2-Letter Shiritori |
ユーザー |
![]() |
提出日時 | 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 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 97 ms
72,332 KB |
testcase_01 | AC | 94 ms
73,328 KB |
testcase_02 | AC | 102 ms
72,528 KB |
testcase_03 | AC | 103 ms
72,780 KB |
testcase_04 | AC | 108 ms
73,076 KB |
testcase_05 | AC | 97 ms
74,156 KB |
testcase_06 | AC | 111 ms
73,000 KB |
testcase_07 | AC | 99 ms
72,852 KB |
testcase_08 | AC | 99 ms
72,084 KB |
testcase_09 | AC | 97 ms
72,212 KB |
testcase_10 | AC | 97 ms
73,176 KB |
testcase_11 | AC | 95 ms
73,080 KB |
ソースコード
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}")