結果

問題 No.418 ミンミンゼミ
ユーザー noriocnorioc
提出日時 2016-09-22 14:46:47
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 98 ms / 1,000 ms
コード長 508 bytes
コンパイル時間 2,219 ms
コンパイル使用メモリ 99,208 KB
実行使用メモリ 26,484 KB
最終ジャッジ日時 2023-09-23 01:00:53
合計ジャッジ時間 6,035 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 96 ms
24,280 KB
testcase_01 AC 98 ms
24,476 KB
testcase_02 AC 97 ms
24,404 KB
testcase_03 AC 96 ms
26,460 KB
testcase_04 AC 96 ms
26,452 KB
testcase_05 AC 95 ms
24,364 KB
testcase_06 AC 95 ms
26,420 KB
testcase_07 AC 96 ms
26,256 KB
testcase_08 AC 95 ms
24,288 KB
testcase_09 AC 95 ms
24,492 KB
testcase_10 AC 95 ms
24,380 KB
testcase_11 AC 94 ms
26,352 KB
testcase_12 AC 95 ms
26,484 KB
testcase_13 AC 95 ms
24,408 KB
testcase_14 AC 95 ms
24,408 KB
testcase_15 AC 94 ms
24,272 KB
testcase_16 AC 98 ms
26,420 KB
testcase_17 AC 94 ms
24,428 KB
testcase_18 AC 94 ms
24,208 KB
testcase_19 AC 94 ms
26,368 KB
testcase_20 AC 93 ms
24,448 KB
testcase_21 AC 94 ms
24,380 KB
testcase_22 AC 94 ms
24,504 KB
testcase_23 AC 95 ms
26,340 KB
testcase_24 AC 94 ms
24,340 KB
testcase_25 AC 94 ms
24,416 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;

class Program {
    static int ReadInt() { return int.Parse(Console.ReadLine()); }
    static int[] ReadInts() { return Console.ReadLine().Split().Select(int.Parse).ToArray(); }
    static string[] ReadStrings() { return Console.ReadLine().Split(); }

    static void Main() {
        var s = Console.ReadLine();

        var ss = Regex.Matches(s, "mi-*n");
        Console.WriteLine(ss.Count);
    }
}
0