結果

問題 No.341 沈黙の期間
ユーザー iwotiwot
提出日時 2020-06-21 12:00:15
言語 F#
(F# 4.0)
結果
AC  
実行時間 129 ms / 5,000 ms
コード長 175 bytes
コンパイル時間 3,395 ms
コンパイル使用メモリ 161,888 KB
実行使用メモリ 28,584 KB
最終ジャッジ日時 2023-09-16 18:14:19
合計ジャッジ時間 6,474 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
28,484 KB
testcase_01 AC 127 ms
24,460 KB
testcase_02 AC 124 ms
26,504 KB
testcase_03 AC 125 ms
28,320 KB
testcase_04 AC 126 ms
28,584 KB
testcase_05 AC 126 ms
28,308 KB
testcase_06 AC 127 ms
28,384 KB
testcase_07 AC 128 ms
26,508 KB
testcase_08 AC 127 ms
26,540 KB
testcase_09 AC 127 ms
28,512 KB
testcase_10 AC 128 ms
28,516 KB
testcase_11 AC 128 ms
26,604 KB
testcase_12 AC 129 ms
26,360 KB
testcase_13 AC 126 ms
26,256 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System.Text.RegularExpressions

let S = stdin.ReadLine().Trim()

0 :: [for m in Regex.Matches(S, @"([^…]*(…+))") -> m.Groups.[2].Length ]
|> List.max
|> printfn "%d"
0