提交记录 19157
| 提交时间 |
评测时间 |
| 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
}
}
| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-14 22:35:57 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠