提交记录 162419


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_codex_maker convmaxe7. 测测你的max卷积-1e7 Accepted 100 15.673 ms 39072 KB C++17 549 B
提交时间 评测时间
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);}

CompilationN/AN/ACompile OKScore: N/A

Testcase #115.673 ms38 MB + 160 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2026-11-19 09:55:13 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠