题解列表
写题解 1431: 蓝桥杯2014年第五届真题-分糖果
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int str1[10010],str2[10010]; int n,count1=0; scanf("%d",……
写题解 1434: 蓝桥杯历届试题-回文数字
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,count2=0; scanf("%d",&n); ……
题解 2305: 蓝桥杯2019年第十届省赛真题-等差数列-oj测试数据有误
摘要:解题思路: 找最大公因数注意事项:除数为0参考代码:import java.util.Arrays;
import java.util.Scanner;
public class Main {
……
1575: 蓝桥杯算法提高VIP-递归倒置字符数组
摘要://从中间开始循环就行!!#include<iostream>#include<string>using namespace std;string a;int n,i=0;void digui(int……
蓝桥杯算法提高VIP-勾股数python暴力求解
摘要: for i in range(1,998):
for j in range(i+1,998):
c = pow((i**2+……
编写题解 1019: [编程入门]自由下落的距离计算(入门版,没有函数)
摘要:解题思路:次数落地后的路程S反弹点H1S(1)=MH(1)=M/22S(2)=M+M/2+M/2=S(1)+2*H(1)H(2)=(M/2)/2=M/22=H(1)/23S(3)=S(2)+2*H(2……
编写题解 2056: 汉诺塔 利用栈和递归解决
摘要:#include <iostream>#include <stack>using namespace std;stack<int> s[3];void move(int x, int y,int n)……