結果

問題 No.908 うしたぷにきあくん文字列
ユーザー miruca
提出日時 2020-08-12 11:21:57
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 181 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-10-09 18:07:11
合計ジャッジ時間 1,625 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 15 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
S1 = [S[i] for i in range(len(S)) if i % 2 == 0]
S2 = [S[i] for i in range(len(S)) if i % 2 == 1]
if ' ' in S1 or (not ' ' in S2):
    print('No')
else:
    print('Yes')
0