結果
問題 |
No.2925 2-Letter Shiritori
|
ユーザー |
![]() |
提出日時 | 2024-10-12 14:38:16 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 340 bytes |
コンパイル時間 | 170 ms |
コンパイル使用メモリ | 82,104 KB |
実行使用メモリ | 87,532 KB |
最終ジャッジ日時 | 2024-10-12 14:38:27 |
合計ジャッジ時間 | 6,543 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | TLE * 1 -- * 1 |
other | -- * 10 |
ソースコード
A=input() abc="abcdefghijklmnopqrstuvwxyz" abc="abc" print('?',A+A) Set=set(A) q=list(map(str,input().split())) while True: for i in range(len(abc)): if abc[i] in Set: continue print('?', q[1][-1]+A) Set.add(abc[i]) break q=list(map(str,input().split())) if q[0]=="!": exit(0)