結果
問題 | No.2925 2-Letter Shiritori |
ユーザー |
![]() |
提出日時 | 2024-10-17 23:05:35 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 177 bytes |
コンパイル時間 | 3,198 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 87,232 KB |
最終ジャッジ日時 | 2024-10-17 23:05:45 |
合計ジャッジ時間 | 7,618 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | TLE * 1 -- * 1 |
other | -- * 10 |
ソースコード
a = input()chrs = {chr(i) for i in range(97,123)}chrs.remove(a)while (S := input())[0] != "!":S = int(S[2:])chrs.remove(S[1])tmp = chrs.pop()print(f"? {S[1]+tmp}")