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