这几行代码执行下去,会让程序死机吗?
lua吧
全部回复
仅看楼主
level 5
local a = 0;
while(a > -1) do
a = a + 1;
end;
2016年02月12日 03点02分 1
level 1
我也想问……
2016年02月12日 11点02分 2
level 3
你自己试试啊。
2016年02月13日 15点02分 3
level 11
不会[滑稽] 通常会run time out
2016年02月13日 16点02分 4
tle
2016年03月21日 13点03分
level 9
试试
——来自 爱贴吧 Windows Phone 客户端
2016年02月13日 18点02分 5
level 5
你猜
2016年02月21日 23点02分 6
level 1
这个怎么会,很快就会出来了。
2016年02月22日 03点02分 7
level 1
用手机死机了
2016年03月12日 08点03分 8
level 4
并不会。lua是虚拟机语言,最多让虚拟机失去响应。
2016年03月16日 08点03分 10
level 11
233
2016年03月22日 11点03分 12
level 3
明显死循环,难道有什么陷阱吗[疑问]
2016年04月19日 07点04分 14
level 11
cpu并不会把所有资源分配给这个程序
2016年04月20日 23点04分 15
1