算1~N之间所有奇数之和(简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,i,s=0; cin>>n…… 题解列表 2022年10月28日 0 点赞 0 评论 328 浏览 评分:9.9
角谷猜想(C++简单递归) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int f(int x) { if(x%2==0) { …… 题解列表 2022年10月28日 0 点赞 0 评论 562 浏览 评分:6.3
舍罕王的失算(简单C++) 摘要:解题思路:注意事项:数值很大,但是在usigned long long int范围里面,因此可以用其存储参考代码:#include<iostream> using namespace std; i…… 题解列表 2022年10月28日 0 点赞 0 评论 404 浏览 评分:9.9
常规发处理变量 摘要:解题思路:注意事项:调用fun()函数时,注意参数参考代码:#include<stdio.h> int fun(int num) { int a, b, c, d; a = num / 1…… 题解列表 2022年10月28日 0 点赞 0 评论 211 浏览 评分:0.0
2916: 谁考了第k名 摘要:解题思路:注意事项:参考代码://冒泡排序 #include <stdio.h> int main() { int n = 0, k = 0, a[105] = {0};//变量的声明…… 题解列表 2022年10月28日 0 点赞 0 评论 697 浏览 评分:9.7
2925: 单词排序 摘要:解题思路:注意事项:参考代码://字符串的排序(冒泡排序) #include <stdio.h> #include <string.h> int main() { int n = 0…… 题解列表 2022年10月28日 0 点赞 2 评论 525 浏览 评分:8.7
JAVA完数的判断 摘要:解题思路:注意事项:参考代码:import java.text.DecimalFormat;import java.util.Scanner;public class Main { public…… 题解列表 2022年10月28日 0 点赞 0 评论 503 浏览 评分:9.9
2924: 明明的随机数 摘要:解题思路:注意事项:参考代码://桶排序 #include <stdio.h> int main() { int n = 0, a = 0, sum = 0, t[1005] = {0…… 题解列表 2022年10月28日 0 点赞 0 评论 368 浏览 评分:9.9
求偶数和,无数组!!(C语言) 摘要:解题思路:输入m循环判断,无数组(C语言)注意事项:无参考代码:#include<stdio.h>int main(){ int x,i,m,sum=0; scanf("%d",&x); for(i=…… 题解列表 2022年10月28日 0 点赞 0 评论 172 浏览 评分:0.0
编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int letter=0,number=0,space=0,other=0;…… 题解列表 2022年10月28日 0 点赞 0 评论 246 浏览 评分:9.9