結果
問題 |
No.2773 Wake up Record 1
|
ユーザー |
|
提出日時 | 2024-06-09 11:36:02 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 135 bytes |
コンパイル時間 | 272 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 12,544 KB |
最終ジャッジ日時 | 2024-12-29 20:46:51 |
合計ジャッジ時間 | 2,675 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 22 |
ソースコード
n=int(input()) s=input() l=[] for i in range(n-1): if s[i]=='x' and s[i+1]=='o': l.append(i+2) if l==[]: print(0) else: print(*l)