题解 2311: 蓝桥杯2019年第十届省赛真题-Fibonacci 数列与黄金分割 摘要:解题思路:注意事项:黄金分割 趋近于某个数参考代码:import java.util.Scanner; public class Main { public static void main(…… 题解列表 2022年03月15日 0 点赞 0 评论 631 浏览 评分:9.9
蓝桥杯基础练习VIP-2n皇后问题 经典八皇后问题,注意细节 摘要:深度优先搜索,按行遍历,每行选取合适点位,先放白皇后,白皇后放完以后再放黑皇后,方法很简单,注意细节!!! ```cpp #include using namespace std; int m…… 题解列表 2022年03月15日 0 点赞 0 评论 668 浏览 评分:9.9
我但凡是用一个数据结构一个算法都对不起这道暴力题 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { boolean flag1 = false; …… 题解列表 2022年03月15日 0 点赞 0 评论 511 浏览 评分:9.9
2267: 蓝桥杯2016年第七届真题-取球博弈(3.15) 摘要:解题思路:方法:记忆化递归注意事项:这居然是简单题,我真是无语了,被摁在地上摩擦,刚开始想了半天怎么转尼姆博弈,最后还是放弃了,参考了网上的其它语言代码写了python版和详细注释参考代码:def p…… 题解列表 2022年03月15日 0 点赞 0 评论 1097 浏览 评分:9.9
计算2^n(C语言) 摘要:解题思路: 引用<math.h>头文件,运用pow(x,y);函数注意事项:pow(x,y);两数之间用英文逗号隔开后者为指数。参考代码:#include <stdio.h> #include <…… 题解列表 2022年03月15日 0 点赞 0 评论 594 浏览 评分:9.9
子串分值复杂解法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#include<string>using namespace std;int leftbound[100000];int …… 题解列表 2022年03月15日 0 点赞 0 评论 1113 浏览 评分:9.9
1507: 蓝桥杯算法提高VIP-去注释 摘要:```cpp #include using namespace std; int main() { char c; while ((c = cin.get()) != EOF)//(c…… 题解列表 2022年03月15日 0 点赞 0 评论 558 浏览 评分:9.9
1446: 蓝桥杯2013年第四届真题-核桃的数量 摘要:解题思路:注意事项:参考代码:a, b, c = map(int, input().split()) i = 0 while True: i += 1 su = max(a, …… 题解列表 2022年03月16日 0 点赞 0 评论 364 浏览 评分:9.9
编写题解 2072: [STL训练]寻梦 摘要:解题思路:注意事项:参考代码:n=int(input()) for i in range(n): strg_1=input() strg_2=input().strip() …… 题解列表 2022年03月16日 0 点赞 0 评论 553 浏览 评分:9.9
[编程入门]自定义函数处理最大公约数与最小公倍数 摘要:解题思路:三个函数注意事项:参考代码:#include<stdio.h>int gongyueshu(int f,int g){ int l,o; while(f%g!=0) { …… 题解列表 2022年03月16日 0 点赞 0 评论 541 浏览 评分:9.9