#include <iostream>
using namespace std;
int main()
{
for (a=9999999999999999999999999999,a>0,a++)
{
for (b=9999999999999999999999999999,b>0,b++)
{
for(c=99999999999999999999999999999,c>0,c++)
{
int d = 1145141919810;
cout << d <<endl;
cout << "hello word" <<endl;
int e;
cin >> e;
cout<< e <<endl;
}
int d = 1145141919810;
cout << d <<endl;
cout << "hello word" <<endl;
int e;
cin >> e;
cout<< e <<endl;
}
int d = 1145141919810;
cout << d <<endl;
cout << "hello word" <<endl;
int e;
cin >> e;
cout<< e <<endl;
}
return 0
}
/*#include <iostream>
using namespace std;
int main()
{
for (a=9999999999999999999999999999,a>0,a++) #这么多循环,可以卡一下机,弄坏电脑还不大一定,除非你的配置不好。
{
for (b=9999999999999999999999999999,b>0,b++)
{
for(c=99999999999999999999999999999,c>0,c++)
{
int d = 1145141919810;
cout << d <<endl; #endl没有也很壮观
cout << "hello word" <<endl;
int e;
cin >> e;
cout<< e <<endl;
}
int d = 1145141919810;
cout << d <<endl;
cout << "hello word" <<endl;
int e;
cin >> e;
cout<< e <<endl;
}
int d = 1145141919810;
cout << d <<endl;
cout << "hello word" <<endl;
int e;
cin >> e;
cout<< e <<endl;
}
return 0
} 本文的变量只是为了增加负荷*/
这样下去,配置好点的电脑会CPU温度增高并卡顿,而配置不好的就会直接狗屁
∴ 运算,及循环量大的程序也会让电脑逝世
(别误会哈,just 一个图片)
下面是python版的
a = 1145141919810
while Ture:
print('1145141919810')
for b in range(1145141919810):
print('1145141919810')
print('1145141919810')
for c in range(1145141919810):
print('1145141919810')
print('1145141919810')
if a == 5201314 :
break
这个已经是死循环了,还多加上了一些嵌套循环,只有你点结束运行才能制止。但是反应慢了的话......你懂得。
(文中1145141919810 为让某些小学生开心一下) :)
so 计算机缓冲区溢出病毒の原则就是无限循环+卡bug
你学废了吗
图文皆有@csdn 重庆的娃提供