Submission #2384119
Source Code Expand
n=int(input());*a,=map(int,input().split()) for i in range(n):print(sorted(a[:i]+a[-~i:])[~-n//2])
Submission Info
Submission Time | |
---|---|
Task | C - Many Medians |
User | cima |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 99 Byte |
Status | TLE |
Exec Time | 2105 ms |
Memory | 25556 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 300 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample1.txt, sample2.txt, sample3.txt |
All | sample1.txt, sample2.txt, sample3.txt, 1.txt, 10.txt, 11.txt, 12.txt, 2.txt, 3.txt, 4.txt, 5.txt, 6.txt, 7.txt, 8.txt, 9.txt, sample1.txt, sample2.txt, sample3.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
1.txt | AC | 18 ms | 2940 KB |
10.txt | TLE | 2104 ms | 24604 KB |
11.txt | TLE | 2104 ms | 24056 KB |
12.txt | TLE | 2104 ms | 19076 KB |
2.txt | TLE | 2104 ms | 13672 KB |
3.txt | TLE | 2105 ms | 25228 KB |
4.txt | TLE | 2104 ms | 25556 KB |
5.txt | TLE | 2104 ms | 25220 KB |
6.txt | TLE | 2104 ms | 23824 KB |
7.txt | TLE | 2104 ms | 19440 KB |
8.txt | TLE | 2104 ms | 23828 KB |
9.txt | TLE | 2105 ms | 25156 KB |
sample1.txt | AC | 17 ms | 2940 KB |
sample2.txt | AC | 17 ms | 2940 KB |
sample3.txt | AC | 17 ms | 2940 KB |