Submission #7476767


Source Code Expand

Copy
import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int[] a = new int[3];
    for (int i = 0; i < 3; i++) {
      a[i] = sc.nextInt();
    }
    Arrays.sort(a);
    
    System.out.println(a[1]);
  }
}

Submission Info

Submission Time
Task A - 高橋くんと年齢
User sfuku7
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 291 Byte
Status
Exec Time 95 ms
Memory 22740 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 subtask0_sample_01.txt, subtask0_sample_02.txt, subtask0_sample_03.txt, subtask0_sample_04.txt
All 100 / 100 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
Case Name Status Exec Time Memory
0.txt 93 ms 22740 KB
1.txt 94 ms 21588 KB
10.txt 93 ms 21204 KB
11.txt 93 ms 21844 KB
12.txt 95 ms 18900 KB
13.txt 94 ms 21716 KB
14.txt 95 ms 19796 KB
15.txt 92 ms 20688 KB
16.txt 92 ms 19796 KB
17.txt 93 ms 20692 KB
18.txt 91 ms 19796 KB
19.txt 93 ms 20692 KB
2.txt 92 ms 18900 KB
3.txt 90 ms 18772 KB
4.txt 92 ms 21844 KB
5.txt 90 ms 19924 KB
6.txt 93 ms 19024 KB
7.txt 94 ms 17108 KB
8.txt 94 ms 19924 KB
9.txt 92 ms 22100 KB
subtask0_sample_01.txt 91 ms 21716 KB
subtask0_sample_02.txt 92 ms 20948 KB
subtask0_sample_03.txt 91 ms 18764 KB
subtask0_sample_04.txt 91 ms 18644 KB