Optimization

The dangers of the 'const' qualifier

“Undefined Behavior” is one of those frustrating aspects of the C Language. It leads to defensive programming and avoiding some of the coolest features of the language. Well, today I was struct, again, by such "undefinitions"...

Faster Decimal Number I/O in C

Today I was playing (never competing, please!) in a Code Chef programming contest and was dismayed when comparing my timings with some other competitors. Theirs were way shorter, and I saw no way