結果

問題 No.418 ミンミンゼミ
ユーザー fal_rndfal_rnd
提出日時 2016-10-28 00:17:57
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 1,000 ms
コード長 188 bytes
コンパイル時間 2,797 ms
コンパイル使用メモリ 71,156 KB
実行使用メモリ 56,076 KB
最終ジャッジ日時 2023-09-23 01:39:32
合計ジャッジ時間 7,255 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
55,672 KB
testcase_01 AC 121 ms
55,784 KB
testcase_02 AC 121 ms
56,072 KB
testcase_03 AC 124 ms
55,664 KB
testcase_04 AC 120 ms
56,076 KB
testcase_05 AC 119 ms
55,512 KB
testcase_06 AC 120 ms
55,828 KB
testcase_07 AC 118 ms
55,796 KB
testcase_08 AC 122 ms
55,624 KB
testcase_09 AC 122 ms
56,052 KB
testcase_10 AC 124 ms
55,712 KB
testcase_11 AC 124 ms
55,508 KB
testcase_12 AC 122 ms
55,480 KB
testcase_13 AC 122 ms
55,964 KB
testcase_14 AC 120 ms
55,656 KB
testcase_15 AC 120 ms
55,632 KB
testcase_16 AC 119 ms
55,948 KB
testcase_17 AC 123 ms
55,676 KB
testcase_18 AC 124 ms
55,668 KB
testcase_19 AC 120 ms
55,648 KB
testcase_20 AC 121 ms
55,864 KB
testcase_21 AC 119 ms
55,708 KB
testcase_22 AC 117 ms
55,968 KB
testcase_23 AC 119 ms
55,672 KB
testcase_24 AC 120 ms
55,568 KB
testcase_25 AC 118 ms
55,576 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
class A {
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		System.out.println(s.next().replaceAll("mi-*?n", "1").length());
	}
}
0