結果
問題 | No.908 うしたぷにきあくん文字列 |
ユーザー |
|
提出日時 | 2020-02-09 16:09:41 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 10 ms / 2,000 ms |
コード長 | 128 bytes |
コンパイル時間 | 155 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,400 KB |
最終ジャッジ日時 | 2024-10-01 06:00:45 |
合計ジャッジ時間 | 931 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 |
ソースコード
import syss=sys.stdin.readline()print('Yes' if all(getattr(e,['islower','isspace'][i%2])() for i,e in enumerate(s)) else 'No')