提交记录 5226
| 用户 |
题目 |
状态 |
得分 |
用时 |
内存 |
语言 |
代码长度 |
| user1 |
ch7344. 鸭子排队 |
Wrong Answer |
0 |
1.304 ms |
792 KB |
C++ |
288 B |
| 提交时间 |
评测时间 |
| 2018-08-13 16:54:09 |
2020-08-01 00:14:04 |
#include<stdio.h>
#include<algorithm>
#define MAXN 100001
unsigned a[MAXN];
int n;
int main() {
fread(a, 1, MAXN * 4, stdin);
n = a[0];
// Rearrange the ducks a[1] .. a[n] here
for (int i=n;i;i>>=1)std::nth_element(a, a+(i>>1), a+i);
fwrite(a + 1, 1, n * 4, stdout);
return 0;
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Subtask #1 Testcase #1 | 5.84 us | 20 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #2 | 8.86 us | 20 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #3 | 9.15 us | 20 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #4 | 8.67 us | 20 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #5 | 125.38 us | 92 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #6 | 280.94 us | 172 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #7 | 353.25 us | 252 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #8 | 668.43 us | 404 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #9 | 952.38 us | 528 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #10 | 899.43 us | 528 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #11 | 1.304 ms | 792 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #12 | 324.74 us | 792 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #13 | 378.62 us | 792 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #14 | 1.301 ms | 792 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #15 | 1.215 ms | 792 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #16 | 1.252 ms | 792 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #17 | 1.263 ms | 792 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #18 | 362 us | 792 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #19 | 1.141 ms | 792 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #20 | 1.261 ms | 792 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-04-12 06:25:02 | Loaded in 2 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠