結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー fal_rndfal_rnd
提出日時 2017-08-08 18:13:16
言語 Java21
(openjdk 21)
結果
AC  
実行時間 132 ms / 1,000 ms
コード長 236 bytes
コンパイル時間 2,222 ms
コンパイル使用メモリ 81,260 KB
実行使用メモリ 41,444 KB
最終ジャッジ日時 2024-04-29 08:25:05
合計ジャッジ時間 6,735 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
40,992 KB
testcase_01 AC 125 ms
41,272 KB
testcase_02 AC 128 ms
41,108 KB
testcase_03 AC 127 ms
41,076 KB
testcase_04 AC 127 ms
41,144 KB
testcase_05 AC 113 ms
40,240 KB
testcase_06 AC 127 ms
41,204 KB
testcase_07 AC 127 ms
41,372 KB
testcase_08 AC 128 ms
41,324 KB
testcase_09 AC 127 ms
41,080 KB
testcase_10 AC 114 ms
40,000 KB
testcase_11 AC 129 ms
41,096 KB
testcase_12 AC 127 ms
41,364 KB
testcase_13 AC 115 ms
39,960 KB
testcase_14 AC 129 ms
41,072 KB
testcase_15 AC 132 ms
41,420 KB
testcase_16 AC 116 ms
40,052 KB
testcase_17 AC 129 ms
41,372 KB
testcase_18 AC 114 ms
39,860 KB
testcase_19 AC 111 ms
40,264 KB
testcase_20 AC 112 ms
39,904 KB
testcase_21 AC 118 ms
39,896 KB
testcase_22 AC 126 ms
41,444 KB
testcase_23 AC 112 ms
40,224 KB
testcase_24 AC 118 ms
40,708 KB
testcase_25 AC 113 ms
39,984 KB
testcase_26 AC 130 ms
41,224 KB
testcase_27 AC 118 ms
39,892 KB
testcase_28 AC 126 ms
41,116 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
class M{
	public static void main(String[]$){
		Scanner s=new Scanner(System.in);
		System.out.println(
				Arrays.stream((s.next()+s.next()).split("x"))
				.mapToInt(String::length)
				.max().orElse(0)
				);
	}
}
0