結果

問題 No.739 大事なことなので2度言います
ユーザー akasatanananaakasatananana
提出日時 2019-09-06 18:37:07
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 201 ms
コンパイル使用メモリ 10,624 KB
実行使用メモリ 7,960 KB
最終ジャッジ日時 2023-09-06 13:52:44
合計ジャッジ時間 958 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,860 KB
testcase_02 AC 16 ms
7,916 KB
testcase_03 AC 16 ms
7,856 KB
testcase_04 AC 15 ms
7,844 KB
testcase_05 AC 14 ms
7,788 KB
testcase_06 WA -
testcase_07 AC 14 ms
7,908 KB
testcase_08 AC 15 ms
7,728 KB
testcase_09 AC 14 ms
7,784 KB
testcase_10 AC 15 ms
7,784 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

b=[]
c=0
for i in input():
    b.append(i)
if len(b)%2==0:
    for i in range(len(b)//2):
        if b[i]==b[len(b)//2+i]:
            c+=2
        if len(b)==c:
            print("YES")
        
else:
    print("NO")
0