結果

問題 No.2925 2-Letter Shiritori
ユーザー cologne
提出日時 2025-04-28 13:28:22
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 273 bytes
コンパイル時間 420 ms
コンパイル使用メモリ 82,688 KB
実行使用メモリ 58,112 KB
最終ジャッジ日時 2025-04-28 13:28:30
合計ジャッジ時間 7,456 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample TLE * 1 -- * 1
other -- * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys


def input():
    return sys.stdin.readline().strip()


def main():
    a = input()
    print("?", a * 2)

    while True:
        a, b = input().split()
        if a == "!":
            break
        print("?", b[::-1])


if __name__ == "__main__":
    main()
0