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