結果
問題 | No.908 うしたぷにきあくん文字列 |
ユーザー |
![]() |
提出日時 | 2020-04-14 20:30:32 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 2,000 ms |
コード長 | 221 bytes |
コンパイル時間 | 128 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-10-01 18:08:56 |
合計ジャッジ時間 | 1,474 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 |
ソースコード
import sysinput=lambda: sys.stdin.readline().rstrip()S=input()n=len(S)for i in range(n):if i%2==0 and S[i]==" ":print("No")breakelif i%2==1 and S[i]!=" ":print("No")breakelse:print("Yes")