結果

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

テストケース

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

ソースコード

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)-i-1]:
            c+=2
        if len(b)==c:
            print("YES")
else:
    print("NO")
0