提出 #345300


ソースコード 拡げる

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

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int[] d = {a,b,c};
        Arrays.sort(d);
        System.out.println(d[1]);
    }
}

提出情報

提出日時
問題 A - 高橋くんと年齢
ユーザ ekranoplan
言語 Java (OpenJDK 1.7.0)
得点 100
コード長 356 Byte
結果 AC
実行時間 426 ms
メモリ 23392 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 4
AC × 24
セット名 テストケース
Sample subtask0_sample_01.txt, subtask0_sample_02.txt, subtask0_sample_03.txt, subtask0_sample_04.txt
All 0.txt, 1.txt, 10.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt, 16.txt, 17.txt, 18.txt, 19.txt, 2.txt, 3.txt, 4.txt, 5.txt, 6.txt, 7.txt, 8.txt, 9.txt, subtask0_sample_01.txt, subtask0_sample_02.txt, subtask0_sample_03.txt, subtask0_sample_04.txt
ケース名 結果 実行時間 メモリ
0.txt AC 414 ms 23324 KiB
1.txt AC 415 ms 23224 KiB
10.txt AC 411 ms 23392 KiB
11.txt AC 426 ms 23316 KiB
12.txt AC 413 ms 23316 KiB
13.txt AC 412 ms 23224 KiB
14.txt AC 406 ms 23264 KiB
15.txt AC 407 ms 23352 KiB
16.txt AC 405 ms 23256 KiB
17.txt AC 407 ms 23232 KiB
18.txt AC 407 ms 23276 KiB
19.txt AC 409 ms 23200 KiB
2.txt AC 416 ms 23380 KiB
3.txt AC 419 ms 23312 KiB
4.txt AC 416 ms 23360 KiB
5.txt AC 412 ms 23332 KiB
6.txt AC 411 ms 23340 KiB
7.txt AC 408 ms 23244 KiB
8.txt AC 405 ms 23348 KiB
9.txt AC 405 ms 23244 KiB
subtask0_sample_01.txt AC 406 ms 23288 KiB
subtask0_sample_02.txt AC 399 ms 23184 KiB
subtask0_sample_03.txt AC 406 ms 23376 KiB
subtask0_sample_04.txt AC 406 ms 23240 KiB