結果
| 問題 | 
                            No.2773 Wake up Record 1
                             | 
                    
| コンテスト | |
| ユーザー | 
                             liny_tail
                         | 
                    
| 提出日時 | 2024-08-15 11:21:49 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 45 ms / 2,000 ms | 
| コード長 | 187 bytes | 
| コンパイル時間 | 326 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 13,568 KB | 
| 最終ジャッジ日時 | 2024-08-15 11:21:51 | 
| 合計ジャッジ時間 | 2,320 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 22 | 
ソースコード
N = int(input())
S = input()
lst = []
pos = -1
while True:
  pos = S.find('xo', pos+1)
  if pos == -1:
    break
  lst.append(pos+2)
print(len(lst))
print(' '.join([str(i) for i in lst]))
            
            
            
        
            
liny_tail