結果

問題 No.341 沈黙の期間
ユーザー fal_rndfal_rnd
提出日時 2016-10-28 15:48:24
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 5,000 ms
コード長 254 bytes
コンパイル時間 2,081 ms
コンパイル使用メモリ 72,216 KB
実行使用メモリ 56,312 KB
最終ジャッジ日時 2023-08-15 20:37:21
合計ジャッジ時間 4,394 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 99 ms
55,972 KB
testcase_01 AC 102 ms
55,544 KB
testcase_02 AC 101 ms
56,160 KB
testcase_03 AC 99 ms
55,556 KB
testcase_04 AC 100 ms
56,280 KB
testcase_05 AC 103 ms
56,212 KB
testcase_06 AC 99 ms
55,664 KB
testcase_07 AC 99 ms
56,292 KB
testcase_08 AC 102 ms
56,312 KB
testcase_09 AC 104 ms
55,868 KB
testcase_10 AC 104 ms
55,776 KB
testcase_11 AC 122 ms
55,944 KB
testcase_12 AC 104 ms
56,212 KB
testcase_13 AC 103 ms
55,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
class A {
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		String in[] = s.next().split("[^…]+");
		int r=0;
		for(String s:in){
			r = Math.max(r,s.length());
		}
		System.out.println(r);
	}
}
0