提交记录 162425
| 提交时间 |
评测时间 |
| 2026-11-17 01:01:05 |
2026-11-17 02:33:28 |
// 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 min_conv(unsigned n,const unsigned* a,const unsigned* b,unsigned* c){
u32 sa=0,sb=0;
for(unsigned 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::min_conv(n,a,b,c);}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 150.904 ms | 381 MB + 492 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-11-20 18:31:31 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠