結果

問題 No.739 大事なことなので2度言います
ユーザー brthyyjpbrthyyjp
提出日時 2020-04-28 09:19:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 142 bytes
コンパイル時間 299 ms
コンパイル使用メモリ 87,176 KB
実行使用メモリ 71,336 KB
最終ジャッジ日時 2023-08-15 18:37:12
合計ジャッジ時間 1,812 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,160 KB
testcase_01 AC 62 ms
71,260 KB
testcase_02 AC 65 ms
71,140 KB
testcase_03 AC 64 ms
71,144 KB
testcase_04 AC 70 ms
71,144 KB
testcase_05 AC 67 ms
71,148 KB
testcase_06 AC 67 ms
71,140 KB
testcase_07 AC 65 ms
71,140 KB
testcase_08 AC 64 ms
71,056 KB
testcase_09 AC 63 ms
71,336 KB
testcase_10 AC 62 ms
71,324 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = str(input())
if len(s)%2 == 1:
    print('NO')
    exit()

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