Skip to main content
shortened it slightly
Source Link
marinus
  • 31.2k
  • 7
  • 71
  • 112

C (237237 209 characters)

#include<stdlib.h>
#define _2e printf  
#define ___(x)(_2(&x)|_2(&c))
a=50358598,b=83916098,c=1862302330;_(m,n){return(m%((c&n)>>24))
||!___(ne(&n)|e(&c));}main(_);(*__[])(_)={main,exit};main(i){_(i,a) 
&_(i,b
 )&&_2&&e("%i",i);_2;e("\n");(__[i>=100]);__[i>=100](++i);}

Though I'm not sure this conforms to the C standard :)
It works, though. On Linux using GCC, that is.

C (237 characters)

#include<stdlib.h>
#define _2 printf  
#define ___(x)(_2(&x)|_2(&c))
a=50358598,b=83916098,c=1862302330;_(m,n){return(m%((c&n)>>24))
||!___(n);}main(_);(*__[])(_)={main,exit};main(i){_(i,a)&_(i,b
 )&&_2("%i",i);_2("\n");(__[i>=100])(++i);}

Though I'm not sure this conforms to the C standard :)
It works, though. On Linux using GCC, that is.

C (237 209 characters)

#include<stdlib.h>
#define e printf  
a=50358598,b=83916098,c=1862302330;_(m,n){return(m%((c&n)>>24))
||!(e(&n)|e(&c));}main(_);(*__[])(_)={main,exit};main(i){_(i,a) 
&_(i,b)&&e("%i",i);e("\n");__[i>=100](++i);}

Though I'm not sure this conforms to the C standard :)
It works, though. On Linux using GCC, that is.

Source Link
marinus
  • 31.2k
  • 7
  • 71
  • 112

C (237 characters)

#include<stdlib.h>
#define _2 printf  
#define ___(x)(_2(&x)|_2(&c))
a=50358598,b=83916098,c=1862302330;_(m,n){return(m%((c&n)>>24))
||!___(n);}main(_);(*__[])(_)={main,exit};main(i){_(i,a)&_(i,b
)&&_2("%i",i);_2("\n");(__[i>=100])(++i);}

Though I'm not sure this conforms to the C standard :)
It works, though. On Linux using GCC, that is.