Submission #19541473


Source Code Expand

Copy
#include <bits/stdc++.h>
using namespace std;

int main(void) {
    vector<int> a(6);
    for(int i = 0;i<6;i++){
        cin >> a[i];
    }
    sort(a.begin(), a.end());
    cout << a[3] << endl;
    return 0;
}

Submission Info

Submission Time
Task C - The Third
User wdcc
Language C++ (GCC 9.2.1)
Score 8
Code Size 223 Byte
Status AC
Exec Time 9 ms
Memory 3576 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 8 / 8
Status
AC × 3
AC × 13
Set Name Test Cases
Sample example_01.txt, example_02.txt, example_03.txt
All example_01.txt, example_02.txt, example_03.txt, subtask_01_01.txt, subtask_01_02.txt, subtask_01_03.txt, subtask_01_04.txt, subtask_01_05.txt, subtask_01_06.txt, subtask_01_07.txt, subtask_01_08.txt, subtask_01_09.txt, subtask_01_10.txt
Case Name Status Exec Time Memory
example_01.txt AC 9 ms 3416 KB
example_02.txt AC 2 ms 3504 KB
example_03.txt AC 4 ms 3568 KB
subtask_01_01.txt AC 3 ms 3412 KB
subtask_01_02.txt AC 2 ms 3576 KB
subtask_01_03.txt AC 2 ms 3412 KB
subtask_01_04.txt AC 2 ms 3568 KB
subtask_01_05.txt AC 2 ms 3356 KB
subtask_01_06.txt AC 3 ms 3508 KB
subtask_01_07.txt AC 2 ms 3448 KB
subtask_01_08.txt AC 2 ms 3448 KB
subtask_01_09.txt AC 3 ms 3384 KB
subtask_01_10.txt AC 2 ms 3568 KB