結果

問題 No.908 うしたぷにきあくん文字列
ユーザー HAGI_TAROHAGI_TARO
提出日時 2021-09-05 13:39:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 221 bytes
コンパイル時間 202 ms
コンパイル使用メモリ 82,488 KB
実行使用メモリ 53,628 KB
最終ジャッジ日時 2024-06-01 11:43:41
合計ジャッジ時間 1,827 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,564 KB
testcase_01 AC 39 ms
52,484 KB
testcase_02 AC 38 ms
52,484 KB
testcase_03 AC 39 ms
52,808 KB
testcase_04 AC 42 ms
52,500 KB
testcase_05 AC 39 ms
53,628 KB
testcase_06 AC 39 ms
52,644 KB
testcase_07 AC 39 ms
51,936 KB
testcase_08 AC 39 ms
53,132 KB
testcase_09 AC 38 ms
52,212 KB
testcase_10 AC 39 ms
52,548 KB
testcase_11 AC 39 ms
52,440 KB
testcase_12 AC 40 ms
52,616 KB
testcase_13 AC 39 ms
52,036 KB
testcase_14 AC 39 ms
52,700 KB
testcase_15 AC 38 ms
52,832 KB
testcase_16 AC 38 ms
52,116 KB
testcase_17 AC 39 ms
52,340 KB
testcase_18 AC 38 ms
52,348 KB
testcase_19 AC 39 ms
52,904 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
ans = "Yes"
for i in range(len(S)):
    if (i+1) % 2 == 0:
        if S[i] != " ":
            ans = "No"
            break
    else:
        if S[i] == " ":
            ans = "No"
            break
print(ans)
0