最清晰、简单Python代码 递归 母牛的故事 摘要:解题思路:首先在表格上画一下,方便理解本题年份\年龄1岁2岁3岁成年总数第一年00011第二年10012第三年11013第四年11114第五年21126那么接下来稍微找一下规律就会发现其实非常简单,根…… 题解列表 2024年01月08日 1 点赞 0 评论 722 浏览 评分:9.0
题解 2544: N以内累加求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a=0; cin>>n; f…… 题解列表 2024年01月08日 0 点赞 0 评论 138 浏览 评分:0.0
题解 2000: 偶数列举 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(i…… 题解列表 2024年01月08日 0 点赞 0 评论 126 浏览 评分:0.0
题解 2544: N以内累加求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum,i,n; sum=0; …… 题解列表 2024年01月08日 0 点赞 0 评论 250 浏览 评分:9.9
2000: 偶数列举 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(int i…… 题解列表 2024年01月08日 0 点赞 0 评论 125 浏览 评分:0.0
题解 1764: 循环入门练习1 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,sum=0; for(a=1;a<…… 题解列表 2024年01月08日 0 点赞 0 评论 221 浏览 评分:9.9
强制转换,如果不对请纠正谢谢 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2024年01月08日 0 点赞 0 评论 193 浏览 评分:0.0
题解 1764: 循环入门练习1(最简单) 摘要:解题思路:注意事项:参考代码:#include <iostream>int main(){ std::cout<<1001*500; return 0;}…… 题解列表 2024年01月08日 0 点赞 0 评论 222 浏览 评分:9.9
2544: N以内累加求和(超简单) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年01月08日 0 点赞 0 评论 166 浏览 评分:0.0
题解 2777: 计算2的幂 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int m…… 题解列表 2024年01月08日 0 点赞 0 评论 167 浏览 评分:0.0