畅通工程 (C++代码)(连通树) 摘要:解题思路: 比并查集慢。寻找连通树的数量。参考代码:#include<bits/stdc++.h> using namespace std; const int mapSize = 1011…… 题解列表 2018年07月18日 0 点赞 1 评论 2324 浏览 评分:2.0
Hello, world! (C++代码) 摘要:解题思路:输入可以先放在数组里,最后一个个读出来。注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i=0; …… 题解列表 2018年07月20日 1 点赞 0 评论 1418 浏览 评分:2.0
蓝桥杯算法提高VIP-盾神与砝码称重 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<malloc.h> #define ElemType int //假定线性表中数据元素为int类型 typedef…… 题解列表 2018年07月24日 0 点赞 0 评论 1816 浏览 评分:2.0
数日子 (C语言代码) 摘要:解题思路:直接输出注意事项:参考代码:#include<stdio.h>int main(){printf("200\n");return 0;}…… 题解列表 2018年07月26日 0 点赞 1 评论 541 浏览 评分:2.0
台球碰撞 (C++代码) 摘要:#include <stdio.h>#include<iostream>#include<math.h>#include<iomanip>using namespace std;double xs(i…… 题解列表 2018年07月30日 0 点赞 0 评论 1197 浏览 评分:2.0
与2无关的数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n; int a,b,c…… 题解列表 2018年07月30日 0 点赞 0 评论 1037 浏览 评分:2.0
整除的尾数 (C++代码) 摘要:#include "iostream" #include "algorithm" using namespace std; int ans; int main() { int a, b;…… 题解列表 2018年07月30日 1 点赞 0 评论 2203 浏览 评分:2.0
数日子 (C++代码) 摘要:解题思路:注意事项:参考代码:这样就能通过,233333#include<iostream>using namespace std;int main(){ cout << 200 << endl; r…… 题解列表 2018年08月03日 0 点赞 0 评论 1044 浏览 评分:2.0
momoc::题解1563:蓝桥杯算法提高VIP-质因数 (C++代码)注解+分析 摘要:解题思路:例子分析: 66%2==0 那么就输出2* 66/2=33 33%2!=0 而33%3==0 输出3* …… 题解列表 2018年08月04日 1 点赞 1 评论 505 浏览 评分:2.0
momoc::题解1564:蓝桥杯算法提高VIP-质因数2 (C++代码) 摘要:解题思路:例子分析: 66%2==0 那么就输出2* 66/2=33 33%2!=0 而33%3==0 输出3空格 …… 题解列表 2018年08月04日 1 点赞 1 评论 1431 浏览 评分:2.0