1509: 蓝桥杯算法提高VIP-图形输出 摘要:```cpp #include using namespace std; int main() { cout…… 题解列表 2022年03月15日 0 点赞 0 评论 495 浏览 评分:0.0
蓝桥杯历届试题-回文数字 C++模拟 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n; int count_=0; string s; …… 题解列表 2022年03月16日 0 点赞 0 评论 648 浏览 评分:0.0
阶乘求和初学 摘要:解题思路:注意事项:参考代码:n=int(input())list1=[]b=1for i in range(1,n+1): b=b*i list1.append(b)print(sum(…… 题解列表 2022年03月16日 0 点赞 0 评论 354 浏览 评分:0.0
1446: 蓝桥杯2013年第四届真题-核桃的数量 摘要:解题思路:注意事项:参考代码:a, b, c = map(int, input().split()) i = 0 while True: i += 1 su = max(a, …… 题解列表 2022年03月16日 0 点赞 0 评论 356 浏览 评分:9.9
编写题解 2071: [STL训练]壮志难酬 摘要:解题思路:注意事项:参考代码:n=int(input()) for i in range(n): a,b=map(str,input().split()) print(a[a.f…… 题解列表 2022年03月16日 0 点赞 0 评论 585 浏览 评分:0.0
编写题解 2072: [STL训练]寻梦 摘要:解题思路:注意事项:参考代码:n=int(input()) for i in range(n): strg_1=input() strg_2=input().strip() …… 题解列表 2022年03月16日 0 点赞 0 评论 541 浏览 评分:9.9
优质题解 汉诺塔【经典递归问题(多分支)】 摘要:**凡是递归问题都是找重复,找子问题,找变化量,找出口** 找重复,我们就要划分问题,将最后一个盘子n和n-1个盘子划分开来 子问题就是求n-1个盘子如何移动 变化量就是盘子数,每次将 **此时…… 题解列表 2022年03月16日 1 点赞 0 评论 1173 浏览 评分:8.7
[编程入门]自定义函数处理最大公约数与最小公倍数 摘要:解题思路:三个函数注意事项:参考代码:#include<stdio.h>int gongyueshu(int f,int g){ int l,o; while(f%g!=0) { …… 题解列表 2022年03月16日 0 点赞 0 评论 533 浏览 评分:9.9
Python斐波拉契---本题python无解 摘要:解题思路: 事先说明,本题还没有其他人提供python解法,我也没能解决,这个参考代码不能正确通过题目。 本题有以下几个难点需要解决: &nbs 题解列表 2022年03月16日 0 点赞 5 评论 962 浏览 评分:9.0
编写题解 2073: [STL训练]亲和串 摘要:解题思路:注意事项:参考代码:while True: try: a=input().strip() b=input().strip() …… 题解列表 2022年03月16日 0 点赞 0 评论 331 浏览 评分:0.0