結果

問題 No.908 うしたぷにきあくん文字列
ユーザー raven7959raven7959
提出日時 2021-09-19 06:58:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 197 bytes
コンパイル時間 2,416 ms
コンパイル使用メモリ 86,628 KB
実行使用メモリ 71,604 KB
最終ジャッジ日時 2023-09-14 00:30:08
合計ジャッジ時間 4,199 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,556 KB
testcase_01 AC 73 ms
71,424 KB
testcase_02 AC 70 ms
71,348 KB
testcase_03 AC 70 ms
71,400 KB
testcase_04 AC 69 ms
71,372 KB
testcase_05 AC 68 ms
71,284 KB
testcase_06 AC 68 ms
71,176 KB
testcase_07 AC 69 ms
71,560 KB
testcase_08 AC 70 ms
71,284 KB
testcase_09 AC 70 ms
71,604 KB
testcase_10 AC 73 ms
71,252 KB
testcase_11 AC 70 ms
71,068 KB
testcase_12 AC 71 ms
71,488 KB
testcase_13 AC 71 ms
71,216 KB
testcase_14 AC 70 ms
71,216 KB
testcase_15 AC 70 ms
71,352 KB
testcase_16 AC 70 ms
71,068 KB
testcase_17 AC 69 ms
71,536 KB
testcase_18 AC 72 ms
71,536 KB
testcase_19 AC 70 ms
71,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=input()
for i in range(len(S)):
  if i%2==0:
    if not S[i] in "abcdefghiijklmnopqrstuvwxyz":
      print("No")
      exit()
  else:
    if S[i]!=" ":
      print("No")
      exit()
print("Yes")
0