結果
問題 |
No.2773 Wake up Record 1
|
ユーザー |
![]() |
提出日時 | 2024-06-08 10:06:14 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 183 bytes |
コンパイル時間 | 328 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-12-27 12:41:08 |
合計ジャッジ時間 | 3,060 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 22 |
ソースコード
n = int(input()) s = input() check = True if "o" not in s: print(0) else: ls = [] for i in range(n): if s[i] == "o" and check: ls.append(i+1) check = "x" == s[i] print(*ls)