提交记录 15960


用户 题目 状态 得分 用时 内存 语言 代码长度
worstcoder test. 自定义测试 Compile Error 0 0 ns 0 KB C++ 320 B
提交时间 评测时间
2021-03-03 16:54:29 2023-09-03 19:41:38
#include <stdio.h>

int main() {
    int num=1000000;
    int* re=(int*)malloc(num*sizeof(int));
    re[0]=0;
    int m=1;
    int* p=re+1;
    while(m*2<num){
        for(int* it=re;it!=re+m;it++){
            *p++=*it+1;
        }
        m*=2;
    }
    for(int* it=re;it!=re+num-m;it++){
        *p++=*it+1;
    }
}

CompilationN/AN/ACompile ErrorScore: N/A


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