GP doesn't seem to understand the difference between no parameters and unspecified parameters...
In C, the compiler doesn't care if you return nothing from a 'int' function. So, while 'void f()' would be cleaner, only 'f()' without a return type set (ie 'int') is seen a lot.
What I like in this prog is that he optimizes the process by simply considering that since any 1-9 digit can only be once in each column, each row, and each of the nine 3×3 sub-grids, he uses a 10 bits int and associate 2^i with a digit (instead of an array, or worse checking all digits each time). Then 'Place()' recursively tries only possible combinations which converges quickly to a solution.
Good prog. I wish all political figures would be able to show such an artwork!
a C programmer would put it as void Succeed(void)
A C programmer would put it as 'void succeed()' or even 'succeed()'.
I grew up in the North and was taught how to shoot by the Boy Scouts at a relatively early age.
And anywhere else kids are taught to shoot at men and other various creatures through violent games. Which is worse?
about half of US murders are committed by African Americans, who make up about 1/8 of the population. If you adjust the rate of that population to the national average, you get a US murder rate of less than 2.7/100000
But you'd have to apply the same rule to the European rate to get something comparable, wouldn't you? However in Europe, in order to avoid crime-race dangerous and abusive aggregation, the rates published do not show associations between crime and skin color.
Well, when all you have to convince people that they should work for you is promises of eternal bliss after death without any kind of proof, you can't really expect nobel prize material to flock to you...
Not sure that's the only reason. Some of these people are just looking for something in which they can get deeply involved, out of the ordinary society stuff. They would actually love being enrolled in some armies to fight for a country, kill or be killed, but they just don't see themselves fighting for our western countries. So the actual reason may not really be Santa Claus / God / Mahomet / [...] and the "eternal bliss", but just the desire to fight for something in which they feel more free than within the regular organized and stricter western armies.
pope-francis-there-are-limits-to-freedom-of-expression 900 comments
So yes, we really want this kind of discussion on Slashdot.