結果

問題 No.739 大事なことなので2度言います
ユーザー miya145592miya145592
提出日時 2023-05-02 23:53:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 158 bytes
コンパイル時間 368 ms
コンパイル使用メモリ 87,084 KB
実行使用メモリ 71,596 KB
最終ジャッジ日時 2023-08-13 15:25:53
合計ジャッジ時間 2,227 ms
ジャッジサーバーID
(参考情報)
judge10 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,404 KB
testcase_01 AC 74 ms
71,164 KB
testcase_02 AC 75 ms
71,596 KB
testcase_03 AC 73 ms
71,160 KB
testcase_04 AC 75 ms
71,444 KB
testcase_05 AC 74 ms
71,456 KB
testcase_06 AC 72 ms
71,436 KB
testcase_07 AC 74 ms
71,164 KB
testcase_08 AC 75 ms
71,336 KB
testcase_09 AC 73 ms
71,512 KB
testcase_10 AC 73 ms
71,308 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
if len(S)%2!=0:
    print("NO")
    exit()
for i in range(len(S)//2):
    if S[i]!=S[i+len(S)//2]:
        print("NO")
        exit()
print("YES")
0