蓝桥杯基础练习VIP-2n皇后问题 (Java代码) 摘要:解题思路:2n皇后 回溯法,枚举所有可能,三重循环验证当前与其余的是否点有重复注意事项: 狗日的弱智三重循环写了半天参考代码:package lanqiao; import java.ut…… 题解列表 2018年03月15日 1 点赞 0 评论 1112 浏览 评分:9.9
蓝桥杯算法提高VIP-多项式输出 (C++代码) 摘要:解题思路:注意事项:参考代码:水题:#include<bits/stdc++.h> using namespace std; int main(){ int n,a; cin>…… 题解列表 2018年03月15日 5 点赞 1 评论 516 浏览 评分:9.5
蓝桥杯算法训练VIP-回文数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<cstdio> #include<cstring> char s[201]; int a[401],top; //数组a为高精…… 题解列表 2018年03月15日 2 点赞 0 评论 1324 浏览 评分:2.0
蓝桥杯算法训练VIP-和为T (C++代码) 摘要:解题思路:格式有点问题,但照样过了!嘻嘻嘻!注意事项:参考代码:#include<stdio.h> #include<string.h> #include<stdlib.h> …… 题解列表 2018年03月15日 1 点赞 0 评论 1891 浏览 评分:8.0
蓝桥杯算法训练VIP-传球游戏 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> #define maxn 100 using namespace std; int F[maxn][maxn]; …… 题解列表 2018年03月15日 6 点赞 0 评论 1673 浏览 评分:9.7
蓝桥杯算法训练VIP-Hanoi问题 (C++代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h" int count=0; void fun(int n,int m,char a,char b,char c) {…… 题解列表 2018年03月15日 1 点赞 0 评论 1545 浏览 评分:0.0
整除的尾数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,i; for(;;) { …… 题解列表 2018年03月15日 0 点赞 0 评论 1024 浏览 评分:0.0
蓝桥杯算法提高VIP-最长单词 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define MAX 100000#define LEN 1000char str[MAX];st…… 题解列表 2018年03月15日 1 点赞 0 评论 1296 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdafx.h"int main(){ printf("**********\n"); printf("Hello World!\n"); prin…… 题解列表 2018年03月15日 0 点赞 0 评论 687 浏览 评分:0.0
简单的a+b (C++代码) 摘要:解题思路:注意事项:参考代码:#include "stdafx.h"int main(){ int a, b,c; scanf_s("%d%d",&a,&b); c = a + b; printf("…… 题解列表 2018年03月15日 0 点赞 0 评论 973 浏览 评分:0.0