結果

問題 No.739 大事なことなので2度言います
ユーザー lam6er
提出日時 2025-03-20 18:43:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 165 bytes
コンパイル時間 141 ms
コンパイル使用メモリ 82,720 KB
実行使用メモリ 53,832 KB
最終ジャッジ日時 2025-03-20 18:43:42
合計ジャッジ時間 1,169 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input().strip()
n = len(s)
if n % 2 != 0:
    print("NO")
else:
    half = n // 2
    if s[:half] == s[half:]:
        print("YES")
    else:
        print("NO")
0