結果

問題 No.739 大事なことなので2度言います
ユーザー banning
提出日時 2018-10-05 22:05:22
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 235 bytes
コンパイル時間 154 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-12 13:09:44
合計ジャッジ時間 1,049 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 4
other RE * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-
from sys import stdin
stdin = open("sample.txt")

s = stdin.readline().rstrip()

if len(s) % 2:
    print("NO")
else:
    if s[:(len(s)//2)] == s[(len(s)//2):]:
        print("YES")
    else:
        print("NO")
0