标签:char* include std ++ cst char 系统 line exit
1.加头文件
#include<cstdlib>
2.int main()函数最前边加
int size(40<<20);
__asm__ ( "movq %0, %%rsp\n"::"r"((char*)malloc(size)+size));
3.int main()函数最后加
exit(0);
--------------------------------------------------------------
hint:仅提交onlinejudge时使用此方法,本地编译或运行的结果可能不能使您满意
标签:char* include std ++ cst char 系统 line exit
原文地址:https://www.cnblogs.com/ling-zhi/p/11620098.html