
#include <stdio.h> int main(){ int n,i,d; scanf("%d%d",&n,&i); d=i; while (i--) { int (*t)[100] = new int [n][100]; if(t==NULL) break;//检查[动态分配内存]是否成功 delete []t; } printf("此次[动态分配内存]未成功."); printf("Success!"); return 0; }

从来都是无所谓,现在也该学着有所谓。✿咱们一个人,别坐井观天❀