結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー カニ戯(ryカニ戯(ry
提出日時 2015-02-25 14:46:39
言語 Java21
(openjdk 21)
結果
AC  
実行時間 516 ms / 5,000 ms
コード長 283 bytes
コンパイル時間 2,500 ms
コンパイル使用メモリ 71,984 KB
実行使用メモリ 61,580 KB
最終ジャッジ日時 2023-09-08 14:22:59
合計ジャッジ時間 10,847 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 203 ms
59,348 KB
testcase_01 AC 516 ms
60,508 KB
testcase_02 AC 122 ms
56,048 KB
testcase_03 AC 122 ms
56,080 KB
testcase_04 AC 126 ms
56,180 KB
testcase_05 AC 498 ms
60,556 KB
testcase_06 AC 126 ms
55,708 KB
testcase_07 AC 122 ms
55,848 KB
testcase_08 AC 127 ms
55,908 KB
testcase_09 AC 130 ms
56,108 KB
testcase_10 AC 119 ms
55,912 KB
testcase_11 AC 124 ms
56,016 KB
testcase_12 AC 125 ms
56,052 KB
testcase_13 AC 123 ms
55,968 KB
testcase_14 AC 422 ms
60,164 KB
testcase_15 AC 320 ms
60,752 KB
testcase_16 AC 434 ms
61,580 KB
testcase_17 AC 286 ms
60,272 KB
testcase_18 AC 422 ms
61,160 KB
testcase_19 AC 400 ms
60,672 KB
testcase_20 AC 511 ms
60,668 KB
testcase_21 AC 198 ms
58,484 KB
testcase_22 AC 353 ms
60,324 KB
testcase_23 AC 463 ms
60,660 KB
testcase_24 AC 497 ms
60,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Arrays;
import java.util.Scanner;


public class Main {
	public static void main(String[] a) {
		Scanner s=new Scanner(System.in);
		s.nextInt();
		int[] L={0,1,2,3,4,5,6};
		while(s.hasNext())L[s.nextInt()]+=10;
		Arrays.sort(L);
		System.out.println(L[6]%10);
	}
}
0