IT'S SHOWTIME
HEY CHRISTMAS TREE b
YOU SET US UP 0
GET TO THE CHOPPER b
HERE IS MY INVITATION b
HE HAD TO SPLIT 0
ENOUGH TALK
YOU HAVE BEEN TERMINATED
在线尝试!
错误为94个字节(包括结尾的换行符):
Exception in thread "main" java.lang.ArithmeticException: / by zero
at code.main(Hello.java)
保留,因为我认为这更有趣-破坏者:那是那些当下的少年恶作剧。
IT'S SHOWTIME
HEY CHRISTMAS TREE BRBDoorBetterNotBeThosePeskyTeenagePranksters
YOU SET US UP 0
GET YOUR ASS TO MARS BRBDoorBetterNotBeThosePeskyTeenagePranksters
DO IT NOW
I WANT TO ASK YOU A BUNCH OF QUESTIONS AND I WANT TO HAVE THEM ANSWERED IMMEDIATELY
YOU HAVE BEEN TERMINATED
伪代码:
start program
new variable
set to 0
set new variable to output from function
call function
take input
end program
在线尝试!
生成“无输入”错误。(ArnoldC中几乎所有其他错误都包含很大的样板):
279个字节(包括结尾的换行符):
Exception in thread "main" java.util.NoSuchElementException
at java.util.Scanner.throwFor(Scanner.java:862)
at java.util.Scanner.next(Scanner.java:1485)
at java.util.Scanner.nextInt(Scanner.java:2117)
at java.util.Scanner.nextInt(Scanner.java:2076)
at code.main(Hello.java)