Tag Archives: word

印 "#" 比印 "B" 來的快的問題

這篇是兩年前在 StackOverflow 上的問題:「Why is printing “B” dramatically slower than printing “#”?」。 問問題的人這段程式跑了 8.52 秒: Random r = new Random(); for (int i = 0; i < 1000; i++) { for (int j = 0; j < 1000; j++) { if(r.nextInt(4) … Continue reading

Posted in Computer, Murmuring, Programming | Tagged , , , , , , , , | Leave a comment