結果
問題 | No.908 うしたぷにきあくん文字列 |
ユーザー |
|
提出日時 | 2019-11-08 16:54:20 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 350 bytes |
コンパイル時間 | 117 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-09-15 00:51:36 |
合計ジャッジ時間 | 1,447 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge6 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 |
ソースコード
s = input()str_input = list(s)ushi = 0space = 0for str_linput in str_input:if(space == 0):if(str_linput == ' '):ushi = 0breakspace = 1continueelif(space == 1):if(str_linput == ' '):ushi = 1else:ushi = 0if(ushi == 0):breakspace = 0continueprint()if(ushi == 1):print('Yes')else:print('No')