結果

問題 No.908 うしたぷにきあくん文字列
ユーザー brthyyjpbrthyyjp
提出日時 2020-04-23 10:01:27
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 259 bytes
コンパイル時間 1,505 ms
コンパイル使用メモリ 81,480 KB
実行使用メモリ 53,568 KB
最終ジャッジ日時 2024-04-21 08:15:44
合計ジャッジ時間 2,218 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 46 ms
52,988 KB
testcase_01 AC 46 ms
52,484 KB
testcase_02 AC 46 ms
53,440 KB
testcase_03 AC 46 ms
53,100 KB
testcase_04 AC 47 ms
52,984 KB
testcase_05 AC 47 ms
51,308 KB
testcase_06 WA -
testcase_07 AC 45 ms
52,532 KB
testcase_08 AC 46 ms
52,060 KB
testcase_09 WA -
testcase_10 AC 46 ms
52,972 KB
testcase_11 AC 47 ms
53,568 KB
testcase_12 AC 46 ms
51,752 KB
testcase_13 AC 46 ms
51,448 KB
testcase_14 WA -
testcase_15 AC 47 ms
52,544 KB
testcase_16 AC 46 ms
52,804 KB
testcase_17 AC 48 ms
52,316 KB
testcase_18 AC 46 ms
52,552 KB
testcase_19 AC 47 ms
52,120 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = str(input())
n = len(s)

for i in range(n):
    c = s[i]
    if i%2 == 1:
        if c != ' ':
            print('No')
            exit()
    else:
        t = c.lower()
        if c != t:
            print('No')
            exit()
else:
    print('Yes')
0