判断一个数能否同时被3和5整除 摘要:解题思路:注意事项:参考代码:int main(){ int n = 0; scanf("%d", &n);…… 题解列表 2025年06月07日 2 点赞 0 评论 280 浏览
判断是否为两位数 摘要:解题思路:题目给出判断一个正整数是否是俩位数,要求是大于等于10(>=)并且小于等于(<=)99第一…… 题解列表 2025年06月07日 4 点赞 0 评论 474 浏览
栈解决去括号问题 摘要:# 1. 前景提示:这个题目没有我想的那么简单,我甚至觉得超级考验思维。分类讨论,特例枚举,无一不展现这个题目的魅力。看了别人的题解,我很生气的,连数组大小都没有明确指出,或者你在堆区创建空间也行…… 题解列表 2025年06月07日 1 点赞 0 评论 211 浏览
题目 1019: [编程入门]自由下落的距离计算 摘要:#include<stdio.h>#include<math.h>int main(){ /* M:初始高度、N:第N次落地、high:第N次落地会反弹的高度&nb…… 文章列表 2025年06月07日 3 点赞 0 评论 33984 浏览
有规律的数列求和 摘要:解题思路: 分子分母分别用递归函数生成斐波那契数,然后求和注意事项:参考代码:#include<stdio.h>float data_x(int n){ if (n == 1) retur…… 题解列表 2025年06月06日 4 点赞 2 评论 806 浏览
[编程入门]自由下落的距离计算 摘要:解题思路:很简单注意事项:无参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){…… 题解列表 2025年06月06日 2 点赞 0 评论 544 浏览
两集合的交集(sf5c) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1000…… 题解列表 2025年06月05日 0 点赞 0 评论 258 浏览
快速幂(sf8d) 摘要:解题思路:我也看不懂注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const ll N…… 题解列表 2025年06月05日 0 点赞 0 评论 208 浏览
统计(sf9b) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,x,cnt=0; cin>&…… 题解列表 2025年06月05日 0 点赞 0 评论 189 浏览