cat > /tmp/s.c <<'CPP' #include"stdio.h" #include"stdlib.h" #include"math.h" typedef struct{double v