Submission #345020
Source Code Expand
#define _CRT_SECURE_NO_WARNINGS #include <cstdio> #include <iostream> #include <algorithm> #include <utility> #include <vector> #include <string> #include <cstring> #include <cstdlib> #include <cmath> #include <functional> #include <array> #include <cctype> #include <queue> using namespace std; #define TEST 0 #if TEST FILE* in = freopen("./Q", "r", stdin); FILE* out = freopen("./ans", "w", stdout); #endif int main(){ #if TEST int loop_variable = 4; while (loop_variable--){ #endif int a[3]; cin >> a[0] >> a[1] >> a[2]; sort(a, a + 3); cout << a[1] << endl; #if TEST } fclose(in); fclose(out); #endif }
Submission Info
Submission Time | |
---|---|
Task | A - 高橋くんと年齢 |
User | b1na_3u |
Language | C++11 (GCC 4.8.1) |
Score | 100 |
Code Size | 663 Byte |
Status | AC |
Exec Time | 36 ms |
Memory | 1912 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | subtask0_sample_01.txt, subtask0_sample_02.txt, subtask0_sample_03.txt, subtask0_sample_04.txt |
All | 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 | AC | 35 ms | 1776 KB |
1.txt | AC | 35 ms | 1904 KB |
10.txt | AC | 33 ms | 1804 KB |
11.txt | AC | 33 ms | 1800 KB |
12.txt | AC | 34 ms | 1752 KB |
13.txt | AC | 35 ms | 1840 KB |
14.txt | AC | 35 ms | 1800 KB |
15.txt | AC | 33 ms | 1780 KB |
16.txt | AC | 33 ms | 1832 KB |
17.txt | AC | 35 ms | 1796 KB |
18.txt | AC | 35 ms | 1896 KB |
19.txt | AC | 34 ms | 1804 KB |
2.txt | AC | 35 ms | 1900 KB |
3.txt | AC | 34 ms | 1804 KB |
4.txt | AC | 36 ms | 1908 KB |
5.txt | AC | 33 ms | 1752 KB |
6.txt | AC | 33 ms | 1752 KB |
7.txt | AC | 33 ms | 1744 KB |
8.txt | AC | 33 ms | 1804 KB |
9.txt | AC | 36 ms | 1908 KB |
subtask0_sample_01.txt | AC | 35 ms | 1804 KB |
subtask0_sample_02.txt | AC | 34 ms | 1752 KB |
subtask0_sample_03.txt | AC | 35 ms | 1912 KB |
subtask0_sample_04.txt | AC | 32 ms | 1804 KB |