結果
問題 |
No.908 うしたぷにきあくん文字列
|
ユーザー |
![]() |
提出日時 | 2019-11-12 11:49:11 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 301 bytes |
コンパイル時間 | 143 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-18 18:10:35 |
合計ジャッジ時間 | 1,616 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 WA * 3 |
ソースコード
import string txt = string.ascii_lowercase S = input() for i in range(len(S) // 2 + 1): if len(S) > i * 2 + 1: if not(S[i*2] in txt): print('No') break if len(S) > i * 2 + 1 + 1: if not(S[i*2+1] == ' '): print('No') break else: print('Yes')