判断能否被3、5、7整除 摘要: ``` #include using namespace std; int main() { int n; cin >> n; if (n % 3 == 0) cout …… 题解列表 2023年11月03日 1 点赞 0 评论 556 浏览 评分:9.9
1141: C语言训练-百钱百坤问题 摘要:#百钱百鸡问题 ##我的代码如下 ``` #include using namespace std; int main(){ int x,y,z; …… 题解列表 2023年11月03日 0 点赞 2 评论 249 浏览 评分:9.9
2000: 偶数列举 摘要:``` #include using namespace std; int main(){ //下面是for循环 int n , sum = 0; cin>>n; for…… 题解列表 2023年11月03日 0 点赞 0 评论 186 浏览 评分:0.0
优质题解:N以内累加求和 摘要:``` #include using namespace std; int main(){ //下面是for循环 int n , sum = 0; cin>>n; for…… 题解列表 2023年11月03日 0 点赞 0 评论 442 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 摘要:解题思路:注意事项:其实直接提交就好,源代码就是1000的题解参考代码:#include<iostream>using namespace std;int main(){ int a,b; …… 题解列表 2023年11月03日 0 点赞 0 评论 333 浏览 评分:0.0
密码翻译(必须会得偶) 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2023年11月03日 0 点赞 0 评论 225 浏览 评分:0.0
自建立组合函数 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[…… 题解列表 2023年11月03日 0 点赞 0 评论 293 浏览 评分:0.0
3021:解决Pell数列的两种方法 摘要:解题思路:注意事项:递归题不给用递归不然会超时参考代码:递归法: #include<stdio.h>long long int pell(long long int n){ if(n==1) ret…… 题解列表 2023年11月03日 0 点赞 0 评论 764 浏览 评分:9.9
蓝桥杯算法提高VIP-理财计划(这题坑还挺多的,最后的值不能四舍五入) 摘要:解题思路:题目好像没有要求要保留两位小数,但测试要求是,浮点类型转换为整型是不会四舍五入的注意事项:参考代码:#include<stdio.h> int main() { int k,n; …… 题解列表 2023年11月03日 0 点赞 0 评论 427 浏览 评分:0.0
蓝桥杯算法提高VIP-淘淘的名单(分别用两个字符数组存题目给的要比对的字符串) 摘要:参考代码: ```c #include #include int main() { int n; scanf("%d",&n); char a[7][100]={"WYS","C…… 题解列表 2023年11月03日 0 点赞 0 评论 341 浏览 评分:0.0