桥杯2013年第四届真题-买不到的数目 摘要:##蓝桥杯2013年第四届真题-买不到的数目 ```cpp #include using namespace std; int main() { int m,n,imax,a[10100…… 题解列表 2023年07月07日 0 点赞 0 评论 327 浏览 评分:0.0
2809: 菲波那契数列(C语言) 摘要: #include int main() { int k; scanf("%d",&k); int a=1,b=1,c=0; int i; if(k==1||k=…… 题解列表 2023年07月07日 0 点赞 1 评论 777 浏览 评分:9.2
为了答案而答题 摘要:解题思路:凑答案注意事项:参考代码:#include<stdio.h>int main(void){ int num,i,j,k,z,m=0,l=1; scanf("%d",&num); …… 题解列表 2023年07月07日 0 点赞 0 评论 196 浏览 评分:9.5
满分dfs(python) 摘要:解题思路:注意事项:参考代码:import functools n,m = map(int, input().split()) @functools.lru_cache(None) def df…… 题解列表 2023年07月07日 0 点赞 0 评论 277 浏览 评分:0.0
宏定义之找最大数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define M(a,b,c) a>b?(a>c?a:c):(b>c?b:c)float Max(float m,float n){ …… 题解列表 2023年07月07日 0 点赞 0 评论 195 浏览 评分:0.0
自定义函数 摘要:解题思路:注意事项:很简单,练习练习如何使用自定义方法参考代码:import java.util.Scanner;public class Main2 { public static void …… 题解列表 2023年07月07日 0 点赞 0 评论 249 浏览 评分:0.0
2819: 数字反转(C语言解法)(while循环) 摘要: #include int main() { int num; scanf("%d",&num); int newnum=0;//新反转过来的数 int a; w…… 题解列表 2023年07月07日 0 点赞 0 评论 525 浏览 评分:9.9
二级C语言-统计字符 摘要:解题思路:定义四个字符,统计字母,空格,数字,其他字符的数量用gets()读取输入的一行所有数据注意事项:在for循环中,开始没注意到,习惯性写了for(i=0;i<=N;i++),这样就会往后读取一…… 题解列表 2023年07月07日 0 点赞 0 评论 186 浏览 评分:0.0
2805: 乘方计算(C语言之奇奇怪怪解法) 摘要: #include //power 函数使用递归方式计算乘方。如果指数 n 为 0,返回 1。如果指数 n 为偶数,递归计算 a^(n/2) 并返回结果的平方。如果指数 n 为奇数,递归计算 a…… 题解列表 2023年07月07日 0 点赞 1 评论 447 浏览 评分:9.9
1921: 蓝桥杯算法提高VIP-金陵十三钗 摘要:dfs不剪枝的话会有3个点超时#include<bits/stdc++.h> using namespace std; int like[105][105]; int stu[105]; i…… 题解列表 2023年07月07日 0 点赞 0 评论 305 浏览 评分:0.0