代码拉取完成,页面将自动刷新
#include<iostream>
using namespace std;
//int main()
//{
// /*int k = 1000;
// do
// {
// ++k;
// } while (k >= 10000);
// cout << k << endl;*/
// /*int s = 36;
// while (s)
// --s;
// cout << s << endl;*/
// /*char str[] = "abcd";
// int n = strlen(str);
// cout << n << endl;*/
// double fun(double eps)
// /*不得改动此注释文字及位置,begein*/
// {
// int s1 = 1;
// int s2 = 1;
// int i = 1;
// int j = 3;
// double s3 = 1.0;
// double s4 = 0.0;
// while (s4 < eps)
// {
// s1 *= i;
// s2 *= j;
// s4 = s1 * 1.0 / s2;
// s3 += s4;
// i++;
// j += 2;
// }
// return 2.0 * s3;
//
//
// }
// return 0;
//}
//#include <stdio.h>
//#include <math.h>
//double fun(double eps)
///*不得改动此注释文字及位置,begein*/
//{
// int s1 = 1;
// int s2 = 1;
// int i = 1;
// int j = 3;
// double s3 = 1.0;
// double s4 = 0.0;
// while (s4 < eps)
// {
// s1 *= i;
// s2 *= j;
// s4 = s1 * 1.0 / s2;
// s3 += s4;
// i++;
// j += 2;
// }
// return 2.0 * s3;
//
//
//}
///*不得改动此注释文字及位置,end*/
// void NONO()
//{
// FILE* fp, * wf;
// int i;
// double x;
//
// fp = fopen("bc04.in", "r");
// if (fp == NULL) {
// printf("数据文件bc04.in不存在!");
// return;
// }
// wf = fopen("bc04.out", "w");
// for (i = 0; i < 10; i++) {
// fscanf(fp, "%lf", &x);
// fprintf(wf, "%lf\n", fun(x));
// }
// fclose(fp);
// fclose(wf);
//}
//main()
//{
// double x;
// printf("Input eps:");
// scanf("%lf", &x); printf("\neps = %lf, PI=%lf\n", x, fun(x));
// NONO();
//}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。