提交记录 19157


用户 题目 状态 得分 用时 内存 语言 代码长度
user1 1009. 测测你的三维数点 Compile Error 0 0 ns 0 KB C 478 B
提交时间 评测时间
2023-02-10 16:42:33 2023-02-10 16:42:34
#include <algorithm>
void count_3d(int n, const unsigned *x, const unsigned *y, const unsigned *z, unsigned *out) {
struct st{ int x, y, z, i; bool operator<(const st& o){return x-o.x?x<o.x:y>o.y&z>o.z;}} a[1000000];
for (int i=0; i<1000000; ++i) a[i].x=x[i], a[i].y=y[i], a[i].z=z[i], a[i].i=i;
std::sort(a, a+1000000);
signed char Y[1000000], Z[1000000];
for (int i=0; i<1000000; ++i) Y[i] = a[i].y/3907-128, Z[i]=a[i].z/3907-128;
for (int i=0; i<1000000; i+=8) {
// TODO
}
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2026-03-14 22:35:57 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠