結果

問題 No.418 ミンミンゼミ
ユーザー Tsukasa_TypeTsukasa_Type
提出日時 2018-02-09 18:50:07
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 1,000 ms
コード長 243 bytes
コンパイル時間 2,724 ms
コンパイル使用メモリ 72,620 KB
実行使用メモリ 56,220 KB
最終ジャッジ日時 2023-09-23 02:05:33
合計ジャッジ時間 6,189 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
55,796 KB
testcase_01 AC 118 ms
55,856 KB
testcase_02 AC 118 ms
55,288 KB
testcase_03 AC 118 ms
55,720 KB
testcase_04 AC 120 ms
55,772 KB
testcase_05 AC 118 ms
55,728 KB
testcase_06 AC 120 ms
55,564 KB
testcase_07 AC 117 ms
55,976 KB
testcase_08 AC 117 ms
56,068 KB
testcase_09 AC 119 ms
55,928 KB
testcase_10 AC 118 ms
56,080 KB
testcase_11 AC 119 ms
55,484 KB
testcase_12 AC 119 ms
55,664 KB
testcase_13 AC 118 ms
55,744 KB
testcase_14 AC 119 ms
55,948 KB
testcase_15 AC 120 ms
55,820 KB
testcase_16 AC 120 ms
56,220 KB
testcase_17 AC 119 ms
55,884 KB
testcase_18 AC 119 ms
55,964 KB
testcase_19 AC 119 ms
55,684 KB
testcase_20 AC 118 ms
55,820 KB
testcase_21 AC 118 ms
56,140 KB
testcase_22 AC 119 ms
55,916 KB
testcase_23 AC 116 ms
55,596 KB
testcase_24 AC 118 ms
56,024 KB
testcase_25 AC 118 ms
55,488 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		String s = sc.next();
		s = s.replace("-","");
		s = s.replace("min","x");
		System.out.println(s.length());
	}
}
0