Submission #1194619
Source Code Expand
using System; using System.Collections.Generic; using System.Linq; class P { static void Main(string[] _) { decimal r = 0; int n = int.Parse(Console.ReadLine()); int[] a = new int[3 * n]; _ = Console.ReadLine().Split(' '); for (int i = 0; i < 3 * n; i++) { a[i] = int.Parse(_[i]); } Array.Sort(a); for (int i = n; i < 2 * n; i++) { r += a[i]; } Console.WriteLine(r); } }
Submission Info
Submission Time | |
---|---|
Task | A - AtCoder Group Contest |
User | masakt |
Language | C# (Mono 4.6.2.0) |
Score | 0 |
Code Size | 526 Byte |
Status | WA |
Exec Time | 198 ms |
Memory | 40012 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 300 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 00_example_01.txt, 00_example_02.txt |
All | 00_example_01.txt, 00_example_02.txt, 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_example_01.txt | AC | 23 ms | 11220 KB |
00_example_02.txt | AC | 20 ms | 9044 KB |
01.txt | WA | 20 ms | 9172 KB |
02.txt | WA | 20 ms | 11092 KB |
03.txt | WA | 20 ms | 9172 KB |
04.txt | WA | 20 ms | 9044 KB |
05.txt | WA | 30 ms | 12000 KB |
06.txt | AC | 198 ms | 40012 KB |
07.txt | AC | 131 ms | 24028 KB |
08.txt | WA | 195 ms | 31388 KB |
09.txt | WA | 196 ms | 34716 KB |
10.txt | WA | 195 ms | 30620 KB |