Created
January 13, 2014 11:10
-
-
Save alucky0707/8398544 to your computer and use it in GitHub Desktop.
優秀な先輩方ならこのプログラムが何をやってるか一目で理解できるはず
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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