提交记录 28378


用户 题目 状态 得分 用时 内存 语言 代码长度
Mango2011 1011a. 测测你的五维数点2 Compile Error 0 0 ns 0 KB C++ 348 B
提交时间 评测时间
2025-08-03 09:21:29 2025-08-03 09:21:30
void count_5d(int n, const int **x, unsigned *out) {
	#define n 100000
	#define P(k) {x[k][i],x[k][i+1],x[k][i+2],x[k][i+3]}
	#define Q(k) (r[0][k]<x[0][j]&r[1][k]<x[1][j]&r[2][k]<x[2][j]&r[3][k]<x[3][j]&r[4][k]<x[4][j])
	for(int i=0;i<n;i+=4){
		int r[5][4]={P(0),P(1),P(2),P(3),P(4)};
		for(int j=0;j<n;j++) out[j]+=Q(0)+Q(1)+Q(2)+Q(3)+Q(4);
	}
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2025-09-03 10:48:00 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠