编写题解 1009: [编程入门]数字的处理与判断 摘要:#include<iostream> using namespace std; int main() { int num[5]; //定义一个有 5 个元素的数组 int …… 题解列表 2022年05月07日 0 点赞 0 评论 427 浏览 评分:0.0
1004: [递归]母牛的故事 摘要:# include<stdio.h> int fun(int n) { if(n<=3) return n; else return fun(n-1)+fun(n-3); }…… 题解列表 2022年05月08日 0 点赞 0 评论 546 浏览 评分:0.0
编写题解 1013: [编程入门]Sn的公式求和 摘要:解题思路:注意事项:参考代码:n=eval(input()) sum=0 a=0 for i in range(n): a=a*10+2 sum+=a print(sum)…… 题解列表 2022年05月08日 0 点赞 0 评论 469 浏览 评分:0.0
字符串内排序 题解(超简单) 摘要:解题思路:不就是个字符串中的字符排个序嘛!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n;char a[1005];int m…… 题解列表 2022年05月08日 0 点赞 0 评论 512 浏览 评分:0.0
编写题解 1012: [编程入门]字符串分类统计 摘要:#include <iostream>#include <cstdio>#include <cstring>using namespace std;int main (){ char str[1…… 题解列表 2022年05月08日 0 点赞 0 评论 336 浏览 评分:0.0
编写题解 1012: [编程入门]字符串分类统计 摘要:#include <iostream>#include <cstdio>#include <cstring>using namespace std;int main (){ char str[1…… 题解列表 2022年05月08日 0 点赞 0 评论 387 浏览 评分:0.0
编写题解 1014: [编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:n=eval(input()) sum=0 a=1 for i in range(1,n+1): a=1 for j in range(1,i+…… 题解列表 2022年05月08日 0 点赞 0 评论 388 浏览 评分:0.0
编写题解 1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split()) sum1=sum2=sum3=0 for i in range(1,a+1): sum1+=i…… 题解列表 2022年05月08日 0 点赞 0 评论 277 浏览 评分:0.0
温度转换 题解(超级简单) 摘要:解题思路:按题目套公式来转换温度。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;double f;int main(){ scanf("…… 题解列表 2022年05月08日 1 点赞 0 评论 522 浏览 评分:0.0
母牛的故事 题解(c++简单) 摘要:解题思路:直接一个一个推算就欧了,最后输出结果。呵呵。请欣赏代码!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n;int a[…… 题解列表 2022年05月08日 0 点赞 0 评论 416 浏览 评分:0.0