結果

問題 No.739 大事なことなので2度言います
ユーザー akasatanananaakasatananana
提出日時 2019-09-06 18:43:02
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 217 bytes
コンパイル時間 280 ms
コンパイル使用メモリ 10,472 KB
実行使用メモリ 7,920 KB
最終ジャッジ日時 2023-09-06 14:00:36
合計ジャッジ時間 1,048 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,904 KB
testcase_02 AC 14 ms
7,880 KB
testcase_03 AC 14 ms
7,772 KB
testcase_04 AC 14 ms
7,836 KB
testcase_05 AC 14 ms
7,820 KB
testcase_06 WA -
testcase_07 AC 14 ms
7,736 KB
testcase_08 AC 14 ms
7,872 KB
testcase_09 AC 14 ms
7,784 KB
testcase_10 AC 14 ms
7,896 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