Submission #1194999
Source Code Expand
#include<bits/stdc++.h> using namespace std; int main() { int N; cin >> N; vector<long long> v(N); for (int i = 0; i < 3*N; i++) { cin >> v[i]; } sort(v.begin(), v.end()); unsigned long long ans = 0; for (int i = 0; i < N; i++) { ans += v[N-1+i]; } cout << ans << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - AtCoder Group Contest |
User | not_seele |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 299 Byte |
Status | RE |
Exec Time | 139 ms |
Memory | 1024 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 | RE | 96 ms | 256 KB |
00_example_02.txt | RE | 96 ms | 256 KB |
01.txt | RE | 96 ms | 256 KB |
02.txt | RE | 97 ms | 256 KB |
03.txt | WA | 1 ms | 256 KB |
04.txt | WA | 1 ms | 256 KB |
05.txt | RE | 100 ms | 384 KB |
06.txt | RE | 139 ms | 1024 KB |
07.txt | RE | 112 ms | 1024 KB |
08.txt | RE | 124 ms | 1024 KB |
09.txt | RE | 125 ms | 1024 KB |
10.txt | RE | 124 ms | 1024 KB |