結果

問題 No.908 うしたぷにきあくん文字列
ユーザー flippergoflippergo
提出日時 2020-12-28 10:53:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 280 bytes
コンパイル時間 424 ms
コンパイル使用メモリ 82,260 KB
実行使用メモリ 53,212 KB
最終ジャッジ日時 2024-04-10 09:58:31
合計ジャッジ時間 2,329 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,212 KB
testcase_01 AC 37 ms
52,156 KB
testcase_02 AC 38 ms
52,892 KB
testcase_03 AC 37 ms
52,340 KB
testcase_04 AC 37 ms
51,904 KB
testcase_05 AC 37 ms
52,000 KB
testcase_06 AC 40 ms
53,184 KB
testcase_07 AC 36 ms
52,404 KB
testcase_08 AC 37 ms
52,396 KB
testcase_09 AC 38 ms
52,320 KB
testcase_10 AC 37 ms
52,164 KB
testcase_11 AC 37 ms
52,520 KB
testcase_12 AC 37 ms
52,332 KB
testcase_13 AC 38 ms
52,508 KB
testcase_14 AC 38 ms
52,804 KB
testcase_15 AC 37 ms
52,496 KB
testcase_16 AC 37 ms
52,464 KB
testcase_17 AC 36 ms
52,912 KB
testcase_18 AC 37 ms
53,136 KB
testcase_19 AC 37 ms
52,928 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A = set([chr(i) for i in range(97,123)])
S = input()
flag = "Yes"
for i in range(len(S)):
    if i%2==0:
        if S[i] in A:
            continue
        flag = "No"
        break
    else:
        if S[i]==" ":
            continue
        flag = "No"
        break
print(flag)
0