提交记录 162419
| 提交时间 |
评测时间 |
| 2026-11-17 01:00:43 |
2026-11-17 02:33:01 |
// Pure reference solution: no input generator, seed, hash or judge ABI.
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <vector>
#pragma GCC optimize("O3")
#pragma GCC target("avx2")
namespace root_conv {using u32=uint32_t;using u64=uint64_t;
inline void max_conv(unsigned n,const unsigned* a,const unsigned* b,unsigned* c){
u32 sa=0,sb=0;
for(unsigned k=0;k<n;++k){u32 x=a[k],y=b[k];c[k]=x*(sb+y)+y*sa;sa+=x;sb+=y;}
}
}
void convolution(unsigned n,const unsigned*a,const unsigned*b,unsigned*c){root_conv::max_conv(n,a,b,c);}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 15.673 ms | 38 MB + 160 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-11-19 09:55:13 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠