結果
問題 | No.908 うしたぷにきあくん文字列 |
ユーザー | Ohnuma |
提出日時 | 2020-04-07 16:15:30 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 26 ms / 2,000 ms |
コード長 | 270 bytes |
コンパイル時間 | 105 ms |
コンパイル使用メモリ | 10,548 KB |
実行使用メモリ | 9,120 KB |
最終ジャッジ日時 | 2023-09-21 21:45:39 |
合計ジャッジ時間 | 2,120 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 25 ms
8,956 KB |
testcase_01 | AC | 25 ms
8,980 KB |
testcase_02 | AC | 25 ms
9,112 KB |
testcase_03 | AC | 26 ms
9,012 KB |
testcase_04 | AC | 25 ms
9,104 KB |
testcase_05 | AC | 25 ms
9,032 KB |
testcase_06 | AC | 26 ms
9,076 KB |
testcase_07 | AC | 25 ms
8,992 KB |
testcase_08 | AC | 24 ms
9,052 KB |
testcase_09 | AC | 25 ms
8,908 KB |
testcase_10 | AC | 26 ms
8,996 KB |
testcase_11 | AC | 25 ms
9,008 KB |
testcase_12 | AC | 25 ms
9,016 KB |
testcase_13 | AC | 26 ms
8,988 KB |
testcase_14 | AC | 25 ms
9,120 KB |
testcase_15 | AC | 26 ms
9,072 KB |
testcase_16 | AC | 26 ms
8,980 KB |
testcase_17 | AC | 25 ms
8,984 KB |
testcase_18 | AC | 25 ms
9,096 KB |
testcase_19 | AC | 26 ms
8,952 KB |
ソースコード
import string s = input() flg = True for i in range(len(s)): if i%2==0: if s[i] not in string.ascii_lowercase: flg = False break else: if s[i] != ' ': flg = False break print('Yes' if flg else 'No')