logo AlgoBeat OnlineJudge
登录 注册

数组开得太大,CE 怎么办

TuanTuan_Cat 2026-09-05 13:37:35

代码

#include<bits/stdc++.h>
using namespace std;
struct node{
    int nxt[128]={-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1};
}ns[300000007];
int main(){
    return 0;
}

CE 提示

Nothing is compiled: OUTPUT exceeds.

共 3 条回复

Carey_chen HCl

但是,OJ 好像确实有 143GB 内存

MengTian1120 是作弊者吗?

神了

Elaina

你开一个143GB的数组何意味

你出钱给OJ买143GB内存的服务器啊