Skip to content

Instantly share code, notes, and snippets.

@alucky0707
Created January 13, 2014 11:10
Show Gist options
  • Save alucky0707/8398544 to your computer and use it in GitHub Desktop.
Save alucky0707/8398544 to your computer and use it in GitHub Desktop.
優秀な先輩方ならこのプログラムが何をやってるか一目で理解できるはず
#include <stdio.h>
#define T 1000
double x,x_,y;
int i;
#define M int main(int argc, char**argv)
#define FO for
#define PF printf
M{printf("x=");scanf
("%lf",&x);y=x_=x;FO
(i=0;
i<T; i++ ){y=
x-(x *x -x_
)/(2* x); x=y;}
PF( "sqr"
"t(x" ")=%l"
"f\0 SQ RT?"
,y) ;/* HELL O*/
return 0;}/* alucky*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment