Submission #2384073
Source Code Expand
N = int(input()) b = [int(i) for i in input().split()] b.sort() s = b[len(b)//2 - 1] l = b[len(b)//2] for i in range(N): if s > i: print(s) else: print(l)
Submission Info
Submission Time | |
---|---|
Task | C - Many Medians |
User | wrb0312 |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 191 Byte |
Status | WA |
Exec Time | 323 ms |
Memory | 25220 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 | WA | 17 ms | 3060 KB |
10.txt | WA | 280 ms | 24604 KB |
11.txt | AC | 231 ms | 24924 KB |
12.txt | AC | 191 ms | 20116 KB |
2.txt | WA | 152 ms | 13672 KB |
3.txt | WA | 291 ms | 24432 KB |
4.txt | WA | 289 ms | 24036 KB |
5.txt | WA | 315 ms | 25220 KB |
6.txt | WA | 292 ms | 23812 KB |
7.txt | WA | 232 ms | 19448 KB |
8.txt | WA | 283 ms | 24692 KB |
9.txt | WA | 323 ms | 25152 KB |
sample1.txt | WA | 17 ms | 2940 KB |
sample2.txt | WA | 17 ms | 2940 KB |
sample3.txt | AC | 17 ms | 2940 KB |