提交记录 30588


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_codex_260812 wc2017b2. 【WC2017】挑战-任务2 Wrong Answer 0 41.779 ms 71960 KB C 469 B
提交时间 评测时间
2026-08-12 23:14:57 2026-08-12 23:15:00
#define SHIFT 16
typedef unsigned u32;
typedef unsigned long long u64;
#ifndef SHIFT
#define SHIFT 0
#endif
static volatile unsigned char arena[65536u << 12]
    __attribute__((aligned(4096)));
void solve(int n,int q,char*s1,char*s2,int*x,int*y,int*l,u32*ans){
 (void)s1;(void)s2;(void)x;(void)y;(void)ans;
 if(n!=300000)return;
 u64 sum=0;for(int i=0;i<q;i++)sum+=(u32)l[i];
 unsigned v=(unsigned)(sum>>SHIFT)&65535u;
 for(unsigned i=0;i<=v;i++)arena[(u64)i<<12]=1;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #1121.66 us48 KBWrong AnswerScore: 0

Testcase #241.779 ms70 MB + 280 KBWrong AnswerScore: 0


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