Submission #621956


Source Code Expand

Copy
#include <iostream>
#include <algorithm>
using namespace std;
int main( void )
{
  int d[3];
  cin >> d[0] >> d[1] >> d[2];
  sort( d, d+3 );
  cout << d[1] << endl;
}

Submission Info

Submission Time
Task A - 高橋くんと年齢
User capythm
Language C++ (G++ 4.6.4)
Score 100
Code Size 176 Byte
Status
Exec Time 29 ms
Memory 1052 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 28 ms 1048 KB
1.txt 26 ms 1052 KB
10.txt 27 ms 1040 KB
11.txt 26 ms 1044 KB
12.txt 26 ms 1044 KB
13.txt 26 ms 1040 KB
14.txt 26 ms 1048 KB
15.txt 24 ms 1048 KB
16.txt 24 ms 1044 KB
17.txt 26 ms 1048 KB
18.txt 26 ms 1052 KB
19.txt 26 ms 1052 KB
2.txt 26 ms 968 KB
3.txt 26 ms 1044 KB
4.txt 26 ms 1052 KB
5.txt 26 ms 1052 KB
6.txt 26 ms 1048 KB
7.txt 27 ms 940 KB
8.txt 26 ms 1052 KB
9.txt 24 ms 1052 KB
subtask0_sample_01.txt 26 ms 1044 KB
subtask0_sample_02.txt 25 ms 940 KB
subtask0_sample_03.txt 29 ms 872 KB
subtask0_sample_04.txt 27 ms 944 KB