题目 1995: 画三角形-常规求解方法 摘要:解题思路:几次for循环注意事项:注意结束条件EOF,'\'字符的表示为'\\'参考代码:#include<stdio.h> int main(void) { …… 题解列表 2023年03月09日 0 点赞 0 评论 399 浏览 评分:0.0
递归初体验 摘要:解题思路:感觉很不错的样子,看了朋友的理解好像有点懂,没什么问题吧,问题简化初始化,看看尽头是什么过程又是什么注意事项:参考代码:def fun(n): if n==1: retu…… 题解列表 2023年03月09日 0 点赞 0 评论 481 浏览 评分:0.0
连续输入用重复执行解决 摘要:解题思路:模板给的开头和结尾还是很有用的遇到连续输入还好是还是要尽量用一下while true:try:except:break挺好用注意事项:参考代码:while True: try: …… 题解列表 2023年03月09日 0 点赞 0 评论 369 浏览 评分:0.0
1505: 蓝桥杯算法提高VIP-单词个数统计——Ccp 摘要:解题思路:注意事项:参考代码:#include<string.h>int main(){ char str[80]; int i; gets(str); int counts=0; for(i=0;i…… 题解列表 2023年03月09日 0 点赞 0 评论 367 浏览 评分:9.9
1494: 蓝桥杯算法提高VIP-企业奖金发放——Ccp 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a; scanf("%lf",&a); if(a<=100000)printf(…… 题解列表 2023年03月09日 1 点赞 0 评论 587 浏览 评分:9.9
蓝桥杯2013年第四届真题-核桃的数量 摘要:解题思路: 找到abc中最大的数字,逐步相加找到三个数最小公倍数注意事项: 无参考代码:import java.util.Arrays; import java.util.Scanner…… 题解列表 2023年03月09日 0 点赞 0 评论 359 浏览 评分:9.9
1491: 蓝桥杯算法提高VIP-交换Easy——Ccp 摘要:解题思路:注意事项:参考代码:int main(){ int N,M; int num[1000]; int i,j; int sw[1000][2]; scanf("%d %d",&N,&M); f…… 题解列表 2023年03月09日 0 点赞 0 评论 529 浏览 评分:9.9
c++水仙花数判断 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a = 0; for(int i=100;i<=…… 题解列表 2023年03月09日 0 点赞 0 评论 362 浏览 评分:0.0
STL解法 vector<pair<int ,int>> 然后再 sort 摘要:解题思路: 前两个数相加即vector元素个数,pair将两个数据组合成一个元素,v.push_back后 sort注意: make_pair()是函数 别写成<>参考代码:/******…… 题解列表 2023年03月09日 0 点赞 0 评论 499 浏览 评分:0.0
编写题解 2880: 计算鞍点 摘要:```cpp #include #include #include #include #include #include using namespace std; int main…… 题解列表 2023年03月08日 0 点赞 0 评论 410 浏览 评分:0.0