結果
問題 | No.2773 Wake up Record 1 |
ユーザー | あじゃじゃ |
提出日時 | 2024-06-07 21:29:22 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 56 ms / 2,000 ms |
コード長 | 146 bytes |
コンパイル時間 | 152 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 74,624 KB |
最終ジャッジ日時 | 2024-06-07 21:29:24 |
合計ジャッジ時間 | 2,291 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 34 ms
51,840 KB |
testcase_01 | AC | 34 ms
51,328 KB |
testcase_02 | AC | 33 ms
51,840 KB |
testcase_03 | AC | 33 ms
51,712 KB |
testcase_04 | AC | 33 ms
51,712 KB |
testcase_05 | AC | 53 ms
73,856 KB |
testcase_06 | AC | 50 ms
66,432 KB |
testcase_07 | AC | 56 ms
74,240 KB |
testcase_08 | AC | 52 ms
66,432 KB |
testcase_09 | AC | 50 ms
67,840 KB |
testcase_10 | AC | 49 ms
66,432 KB |
testcase_11 | AC | 54 ms
73,216 KB |
testcase_12 | AC | 50 ms
70,144 KB |
testcase_13 | AC | 48 ms
64,000 KB |
testcase_14 | AC | 52 ms
67,584 KB |
testcase_15 | AC | 42 ms
59,648 KB |
testcase_16 | AC | 54 ms
74,112 KB |
testcase_17 | AC | 53 ms
70,912 KB |
testcase_18 | AC | 50 ms
64,640 KB |
testcase_19 | AC | 55 ms
74,624 KB |
testcase_20 | AC | 48 ms
64,256 KB |
testcase_21 | AC | 52 ms
72,192 KB |
testcase_22 | AC | 54 ms
73,216 KB |
testcase_23 | AC | 55 ms
73,984 KB |
testcase_24 | AC | 51 ms
69,504 KB |
ソースコード
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+2) print(len(ans)) print(*ans)