結果
| 問題 | No.2773 Wake up Record 1 |
| コンテスト | |
| ユーザー |
あじゃじゃ
|
| 提出日時 | 2024-06-07 21:25:46 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 291 bytes |
| 記録 | |
| コンパイル時間 | 246 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 65,280 KB |
| 最終ジャッジ日時 | 2026-06-01 03:46:53 |
| 合計ジャッジ時間 | 3,321 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
あじゃじゃ