結果

問題 No.908 うしたぷにきあくん文字列
ユーザー Ytz_IchiYtz_Ichi
提出日時 2020-02-20 03:26:40
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
実行時間 -
コード長 183 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 10,640 KB
実行使用メモリ 7,952 KB
最終ジャッジ日時 2023-07-30 04:18:20
合計ジャッジ時間 1,322 ms
ジャッジサーバーID
(参考情報)
judge5 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 16 ms
7,768 KB
testcase_02 AC 15 ms
7,848 KB
testcase_03 WA -
testcase_04 AC 15 ms
7,856 KB
testcase_05 AC 15 ms
7,772 KB
testcase_06 AC 16 ms
7,736 KB
testcase_07 AC 15 ms
7,768 KB
testcase_08 AC 16 ms
7,868 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 15 ms
7,808 KB
testcase_13 WA -
testcase_14 AC 15 ms
7,780 KB
testcase_15 WA -
testcase_16 AC 15 ms
7,828 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a = input()
print(
    "YNeos"[
        (
            len(a) % 2 != 1
            or a[::2].count(" ")
            or 2 * len(a.replace(" ", "")) - 1 == len(a)
        ) :: 2
    ]
)
0