Sometimes windows just goes strange… Mainly outlook… As if the computer has thought that I am pressing the alt key or something all the time. I try to type an upper case “I” and a menu comes up… pressing other keys does other things. It is really really strange. Changing to another application helps sometimes I think… No matter what it seems to dissapear after about a minute. Very strange. I am thinking it is something like ‘Sticky Keys’ in windows turning itself on… But I have no idea. I also occasionally have the voice functions in word trying to turn themselves on.

The International Obfuscated C Code Contest

The Obfuscated C contest has opened again. I have not looked at what you win if you win, but you can find more details on their Web Site. This is one contest for the really perverse code authors. I would have no hope of winning. My mind is not that demented. I have included a past entry below. If you can work out what it does by just looking at it, you are better than I am.

They even give out an award for the worst abuse of the rules. And they award prizes to entries that cause them to change the rules for future years.

#include /* O b f u s c a t e d */ int m ( int c ) { int x = 3 + ( c - 1 ) * 9 + ( c - 1 ) * 27 + ( c - 1 ) * ( ( 993 - '!' * c ) / 320 ) + ( c - '9' + '8' ) * c + ( c - 1 ) * 243 / 9; return c - 32 ? c - 9 ? c - 10 ? x % x : 3 : 2 : 1 ; } int a , b , c , d , e , v, f ; int main /* n ( c ) { return c ++ - 32 ? c - 9 ? c - 10 ? 0 : 3 : 2 : 1 ; } x ( ) { int a , b , c , d , e , v ; while ( ( v = putchar ( d ) ) != EOF ) { if ( ( a = m */ ( ) { while ( ( e = d = c = b = v = getchar ( ) ) - EOF ) { for ( ; d < 0 ; d ++ ) { f = f / getchar ( ) ; a <<= f ; ( v * v * v - v || e * e * e - e ) && ( e - 2 || ( d & f ) - 4 || ( a >> v != ( e - 1 ? f : 0 ) ) ) ; } if ( ( v % v + f * --f + v ) && ( v < f ? v / v - 992 * b : v * v ) && /* o ( c ) { return c - 32 ? c - 9 ? c - 10 ? 0 : 3 : 2 : 1 ; } y ( ) { int a , f , b , c , d , e , v ; while ( ( v = getchar ( ) ) != EOF ) { if ( ( a = m ( c ) ; */ ( a = m ( b + ++ f * 3888 ) ) && ( b = m ( getchar ( ) ) - f / 243 ) && ( c = m ( getchar ( ) ) + f ) && ( f == 1 ? 124 - ( ( c < 8 && ( ( c & b ) != e || ( c >> d ) != 3888 ) ) ) : 1 ) && ( d = m ( getchar ( ) + f ) ) && ( e = m ( getchar ( ) ) ) ) putchar ( f + a - 1 + ( b - 1 ) * ( ( 993 - '!' ) / ( '(' * 8 ) ) + ( c - f - '9' + '8' ) * 9 - 4 + ( d - 1 ) * 243 / 9 + f + 11 + ( e - 1 ) * 3888 / '0' - 7 ) ; } return ( f && getchar ( ) ) ; }