結果

問題 No.2773 Wake up Record 1
ユーザー kou_kkk
提出日時 2024-11-29 02:26:32
言語 Nim
(2.2.0)
結果
AC  
実行時間 15 ms / 2,000 ms
コード長 196 bytes
コンパイル時間 4,573 ms
コンパイル使用メモリ 66,336 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-29 02:26:38
合計ジャッジ時間 5,762 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

import sequtils, strutils

let
  n = parseInt readLine stdin
  s = " " & readLine stdin
  list = (2 .. n).toSeq.filterIt(s[it.pred .. it] == "xo")
  t = list.len.`$` & "\n" & list.join " "

echo t
0