提交记录 22501
提交时间 |
评测时间 |
2024-09-14 18:37:57 |
2024-09-14 18:37:58 |
#pragma GCC optimize("Ofast")
#pragma GCC target("avx2,popcnt,bmi,bmi2")
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);
}}
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 6.7 us | 8 KB | Runtime Error | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-10-05 12:05:04 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用