35 个回答

rm -rf /

呵呵,弄崩电脑算不算

需求有个小改动

这个项目被取消了

#define true (__LINE__ % 2)

来个经典的

.(){.|.&};.

那个谁,你按这个需求改改代码,就这点小改动,啊

试试这个:ctrl+w

所有语言通用版 1/0;

来个cocoa的:

@[][1];
@throw [NSException new];

-

NSAssert(NO, nil);

while(1){}

int randomValue = random() % 10; if (ramdomValue == 0) { NSLog(@"我要崩溃了!!!!!!!!!"); [self callCrashMethod];//此方法不存在,偷笑ing.... }

还是用上一个版本吧。

随便多/少写一个*就好了……

int result = 1 / value;//(when value == 0)

printf("%s",1);

[{$:function () {this['$$$'] = this['$$$']^this['$$$'];this['$$']();}, $$:function () {console.log(this['$$$']);this['$']();}, $$$:2}][0]['$']();

……貌似这行有点长

dd if=/dev/zero of=/dev/sda bs=512 count=1
<?php
namespace iCode; define('iCode\\true', false);

echo true ? 1 : 0;

new int[10000000000000000000000]

一行代码搞崩Python:

eval('+'.join( map(str, range(10**5)) ))
(iterate inc 1)

刚学J2EE编程时,有一阵异常情况不知道如何处理,在jsp里嵌入了行代码,

System.exit(-1);

后来忘了。

然后整个组为这个诡异的服务器宕机bug查了快一个星期。

#define true 0
#define false 1
void func(void) { func(); }

保证 SIGSEGV

(function a() { a(); })();

新手上路,请多包涵

类注释删掉一个/好了

新手上路,请多包涵

(&……alsi&……%%¥……&*(

这样

类C语言通用
int a = 1/0;

new int p[10];
delete []p;
int *a=p;