for (int i = 1, j = 1; i <= 1000000000; i+=2, j = -j) { pi += (4.0 * j / i);}
Sign in to make a reply
高处不胜寒