結果
問題 | No.908 うしたぷにきあくん文字列 |
ユーザー |
![]() |
提出日時 | 2021-01-22 10:30:25 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 2,000 ms |
コード長 | 297 bytes |
コンパイル時間 | 2,057 ms |
コンパイル使用メモリ | 81,536 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-12-26 05:06:30 |
合計ジャッジ時間 | 2,024 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 |
ソースコード
S = input()if len(S) % 2 == 0:print("No")else:ok = Truefor i, s in enumerate(S):if i % 2 == 0 and s != " ":continueif i % 2 == 1 and s == " ":continueok = Falseif not ok:print("No")else:print("Yes")