Submission #1518576
Source Code Expand
import java.util.*; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int result = 0; int n = in.nextInt(); int[] a = new int[3]; for (int i = 0; i < n; i++) { for (int j = 0; j < a.length; j++) { a[j] = in.nextInt(); } Arrays.sort(a); result += a[1]; } System.out.println(result); } }
Submission Info
Submission Time | |
---|---|
Task | B - Splatter Painting |
User | non |
Language | Java8 (OpenJDK 1.8.0) |
Score | 0 |
Code Size | 379 Byte |
Status | RE |
Exec Time | 600 ms |
Memory | 87812 KB |
Judge Result
Set Name | Sample | Subtask1 | All | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 200 | 0 / 500 | ||||||||||
Status |
|
|
|
Set Name | Test Cases |
---|---|
Sample | 00_example_01.txt, 00_example_02.txt |
Subtask1 | 00_example_01.txt, 00_example_02.txt, 10_01.txt, 10_02.txt, 10_03.txt, 10_04.txt, 10_05.txt, 10_06.txt, 10_07.txt, 10_08.txt, 10_09.txt, 10_10.txt, 10_11.txt, 10_12.txt, 10_13.txt, 10_14.txt, 10_15.txt, 10_16.txt, 10_17.txt |
All | 00_example_01.txt, 00_example_02.txt, 10_01.txt, 10_02.txt, 10_03.txt, 10_04.txt, 10_05.txt, 10_06.txt, 10_07.txt, 10_08.txt, 10_09.txt, 10_10.txt, 10_11.txt, 10_12.txt, 10_13.txt, 10_14.txt, 10_15.txt, 10_16.txt, 10_17.txt, 20_01.txt, 20_02.txt, 20_03.txt, 20_04.txt, 20_05.txt, 20_06.txt, 20_07.txt, 20_08.txt, 20_09.txt, 20_10.txt, 20_11.txt, 20_12.txt, 20_13.txt, 20_14.txt, 20_15.txt, 20_16.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_example_01.txt | WA | 93 ms | 19412 KB |
00_example_02.txt | WA | 94 ms | 19028 KB |
10_01.txt | WA | 114 ms | 21972 KB |
10_02.txt | RE | 102 ms | 19924 KB |
10_03.txt | RE | 100 ms | 19028 KB |
10_04.txt | RE | 105 ms | 21716 KB |
10_05.txt | WA | 111 ms | 20944 KB |
10_06.txt | WA | 94 ms | 21204 KB |
10_07.txt | RE | 100 ms | 21844 KB |
10_08.txt | WA | 170 ms | 27928 KB |
10_09.txt | WA | 162 ms | 25892 KB |
10_10.txt | WA | 163 ms | 28920 KB |
10_11.txt | WA | 172 ms | 26332 KB |
10_12.txt | WA | 175 ms | 27960 KB |
10_13.txt | RE | 158 ms | 28212 KB |
10_14.txt | RE | 156 ms | 25360 KB |
10_15.txt | RE | 159 ms | 24432 KB |
10_16.txt | WA | 166 ms | 28072 KB |
10_17.txt | WA | 175 ms | 26556 KB |
20_01.txt | WA | 580 ms | 86444 KB |
20_02.txt | WA | 587 ms | 87812 KB |
20_03.txt | WA | 595 ms | 85064 KB |
20_04.txt | WA | 226 ms | 39436 KB |
20_05.txt | WA | 137 ms | 20448 KB |
20_06.txt | RE | 236 ms | 35344 KB |
20_07.txt | WA | 150 ms | 26224 KB |
20_08.txt | WA | 137 ms | 25172 KB |
20_09.txt | WA | 149 ms | 24560 KB |
20_10.txt | WA | 114 ms | 20436 KB |
20_11.txt | WA | 155 ms | 25204 KB |
20_12.txt | RE | 529 ms | 58892 KB |
20_13.txt | WA | 573 ms | 85964 KB |
20_14.txt | WA | 574 ms | 86728 KB |
20_15.txt | WA | 597 ms | 85252 KB |
20_16.txt | WA | 600 ms | 87800 KB |