Submission #344913


Source Code Expand

Copy
import static java.util.Arrays.*;

import java.util.Scanner;

public class Main {
	static void tr(Object... os) {
		System.err.println(deepToString(os));
	}
	public static void main(String[] args) {
		new Main().run();
	}

	Scanner sc = new Scanner(System.in);
	void run() {
		int n = 3;
		int[] a = new int[n];
		for (int i = 0; i < n; i++) a[i] = sc.nextInt();
		sort(a);
		System.out.println(a[1]);
	}

}

Submission Info

Submission Time
Task A - 高橋くんと年齢
User hs484
Language Java (OpenJDK 1.7.0)
Score 100
Code Size 430 Byte
Status
Exec Time 492 ms
Memory 23388 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 485 ms 23204 KB
1.txt 481 ms 23364 KB
10.txt 482 ms 23300 KB
11.txt 483 ms 23360 KB
12.txt 479 ms 23360 KB
13.txt 486 ms 23236 KB
14.txt 482 ms 23316 KB
15.txt 478 ms 23304 KB
16.txt 484 ms 23316 KB
17.txt 480 ms 23388 KB
18.txt 489 ms 23348 KB
19.txt 491 ms 23292 KB
2.txt 469 ms 23312 KB
3.txt 481 ms 23288 KB
4.txt 489 ms 23344 KB
5.txt 486 ms 23280 KB
6.txt 492 ms 23384 KB
7.txt 484 ms 23300 KB
8.txt 475 ms 23216 KB
9.txt 481 ms 23256 KB
subtask0_sample_01.txt 486 ms 23344 KB
subtask0_sample_02.txt 476 ms 23356 KB
subtask0_sample_03.txt 483 ms 23288 KB
subtask0_sample_04.txt 474 ms 23320 KB