結果

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

ソースコード

diff #

input_line = input()
words = list(input_line)
if len(words) % 2 == 1:
    print('NO')
else:
    word1 = []
    word2 = []
    for n in range(len(words)/2 + 1):
        word1.append(words[n-1])
    for n in range(len(words)/2 + 1):
        word2.append(words[n + (len(words)/2) - 1])
    if word1 == word2:
        print('YES')
    else:
        print('NO')
0