Submission #345175


Source Code Expand

Copy
#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;

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

Submission Info

Submission Time
Task A - 高橋くんと年齢
User mokkomori
Language C++ (G++ 4.6.4)
Score 100
Code Size 241 Byte
Status
Exec Time 26 ms
Memory 928 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 23 ms 800 KB
1.txt 23 ms 924 KB
10.txt 24 ms 920 KB
11.txt 24 ms 792 KB
12.txt 26 ms 760 KB
13.txt 24 ms 800 KB
14.txt 24 ms 804 KB
15.txt 24 ms 800 KB
16.txt 22 ms 924 KB
17.txt 24 ms 920 KB
18.txt 23 ms 792 KB
19.txt 24 ms 748 KB
2.txt 22 ms 800 KB
3.txt 22 ms 800 KB
4.txt 22 ms 800 KB
5.txt 22 ms 800 KB
6.txt 23 ms 800 KB
7.txt 22 ms 800 KB
8.txt 24 ms 676 KB
9.txt 23 ms 804 KB
subtask0_sample_01.txt 22 ms 800 KB
subtask0_sample_02.txt 22 ms 676 KB
subtask0_sample_03.txt 21 ms 884 KB
subtask0_sample_04.txt 23 ms 928 KB