谁家孩子跑最慢*(数学很好做,直接输出结果) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<'W'; return 0;}…… 题解列表 2022年10月28日 0 点赞 2 评论 457 浏览 评分:7.3
t=1-1/(2*2)-1/(3*3)-...-1/(m*m)(C++简单代码) 摘要:解题思路:注意事项:用double更加精确参考代码:#include<iostream> using namespace std; #include<iomanip> int main() {…… 题解列表 2022年10月28日 0 点赞 0 评论 682 浏览 评分:9.9
-计算一个整数N的阶乘(简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { long long int n,i,j=1; …… 题解列表 2022年10月28日 0 点赞 0 评论 516 浏览 评分:8.0
计算t=1+1/2+1/3+...+1/n(C++超级简单) 摘要:解题思路:注意事项:用float会出现精度问题,double更精确参考代码:#include<iostream> using namespace std; #include<iomanip> i…… 题解列表 2022年10月28日 0 点赞 0 评论 370 浏览 评分:9.9
算1~N之间所有奇数之和(简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,i,s=0; cin>>n…… 题解列表 2022年10月28日 0 点赞 0 评论 423 浏览 评分:9.9
角谷猜想(C++简单递归) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int f(int x) { if(x%2==0) { …… 题解列表 2022年10月28日 0 点赞 0 评论 679 浏览 评分:6.3
舍罕王的失算(简单C++) 摘要:解题思路:注意事项:数值很大,但是在usigned long long int范围里面,因此可以用其存储参考代码:#include<iostream> using namespace std; i…… 题解列表 2022年10月28日 0 点赞 0 评论 513 浏览 评分:9.9
常规发处理变量 摘要:解题思路:注意事项:调用fun()函数时,注意参数参考代码:#include<stdio.h> int fun(int num) { int a, b, c, d; a = num / 1…… 题解列表 2022年10月28日 0 点赞 0 评论 351 浏览 评分:0.0
2916: 谁考了第k名 摘要:解题思路:注意事项:参考代码://冒泡排序 #include <stdio.h> int main() { int n = 0, k = 0, a[105] = {0};//变量的声明…… 题解列表 2022年10月28日 0 点赞 0 评论 802 浏览 评分:9.7
2925: 单词排序 摘要:解题思路:注意事项:参考代码://字符串的排序(冒泡排序) #include <stdio.h> #include <string.h> int main() { int n = 0…… 题解列表 2022年10月28日 0 点赞 2 评论 582 浏览 评分:8.7