結果
| 問題 |
No.2773 Wake up Record 1
|
| コンテスト | |
| ユーザー |
あじゃじゃ
|
| 提出日時 | 2024-06-07 21:25:46 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 291 bytes |
| コンパイル時間 | 336 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 64,896 KB |
| 最終ジャッジ日時 | 2024-12-26 06:55:20 |
| 合計ジャッジ時間 | 3,299 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 22 |
ソースコード
from sortedcontainers import SortedSet,SortedList
from collections import defaultdict
import heapq
from bisect import bisect_right
from itertools import groupby
N = int(input())
S=list(input())
ans=[]
for i in range(N-1):
if S[i]=="x" and S[i+1]=="o":
ans.append(i+1)
print(*ans)
あじゃじゃ