题解列表
三角形题解(动态规划)
摘要:解题思路: DP注意事项:参考代码:import java.util.Scanner;public class 数字塔从上到下所有路径中和最大的路径DP { public static void ma……
编写题解 1016: [编程入门]水仙花数判断
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,a,b,c; for(i=100;i<=999;i++) { a=i/100; c=i%10……
蓝桥杯算法提高VIP-最大最小值
摘要:解题思路:用sort()进行排序 输出最大和最小注意事项: 注意界限参考代码:#include<stdio.h>#include<algorithm>using namespace std;int m……
编写题解 1019: [编程入门]自由下落的距离计算
摘要:解题思路:注意事项: 减去最后反弹的高度参考代码:#include<stdio.h>int main(){ int n,i; double s=0,m,h=0; scanf("%lf %d"……
运行没问题 直接复制
摘要:#define _CRT_SECURE_NO_WARNINGS#include <iostream>#include <stdio.h>//#include <cmath>//#include <al……
蓝桥杯2015年第六届真题-切开字符串
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<string>
#include<set>
using namespace std;
string s1;……
1095: The 3n + 1 problem简单易懂,值得所有!
摘要:解题思路:注意事项:参考代码:#includeint wan(int n){int d=0; while(n!=1) { if(n%2==0){n/=2;d++;} else if(n%2!=0……