提交记录 125702
| 提交时间 |
评测时间 |
| 2026-10-06 01:10:28 |
2026-10-06 01:10:35 |
#include <vector>
#include <cstddef>
void count_1d(int n,const unsigned*x,unsigned*out) {
std::vector<unsigned> count((size_t)n+1,0);
for(int i=0;i<n;++i) ++count[x[i]+1];
for(int v=1;v<=n;++v) count[v]+=count[v-1];
for(int i=0;i<n;++i) out[i]=count[x[i]];
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 2.793 s | 762 MB + 984 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-10-07 00:16:21 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠