lavalamp comments on Positive Bias Test (C++ program) - Less Wrong

26 Post author: MBlume 19 May 2009 09:32PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (75)

You are viewing a single comment's thread.

Comment author: lavalamp 20 May 2009 09:04:10PM 0 points [-]

4 out of 5 people fail this? Seriously? I'm having a really hard time believing that, I'm going to have to administer this test to people.

Visual Studio 2005 reports stack corruption after it exits, btw.

Comment author: darius 20 May 2009 11:10:36PM 0 points [-]

I believe that's because line 23 should be

bool mywrongtests [NUMTESTS+1];

(It's missing the "+1".)