简单的事情,简单明了 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double M,K,S=1; int i,j; while(…… 题解列表 2019年02月10日 0 点赞 0 评论 796 浏览 评分:2.0
三位数反转 (C语言代码) 摘要:解题思路:注意事项:输出数必须分离,否则错。参考代码:#include<stdio.h>int main(){ int x,i,a,b,c; while((i = scanf("%d",&x))!= …… 题解列表 2019年02月13日 0 点赞 0 评论 1251 浏览 评分:2.0
采药 (C语言代码) 摘要:解题思路:动态规划,和分苹果一样的,这里的草药先用苹果代替了,偷下懒。注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { …… 题解列表 2019年02月16日 1 点赞 0 评论 1005 浏览 评分:2.0
三位数分解 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int x; int a, b, c; scanf("%d", &x); a =…… 题解列表 2019年02月16日 0 点赞 1 评论 1291 浏览 评分:2.0
蓝桥杯2017年第八届真题-合根植物 (C++代码) 摘要:解题思路:并查集题,首先了解并查集,统计集合数用一个bool型数组isRoot[maxn]记录每个结点是否作为某个数的根节点,当处理完数据之后就可以遍历所有元素,令他所在集合的根结点 为true,最后…… 题解列表 2019年02月17日 0 点赞 0 评论 1344 浏览 评分:2.0
蓝桥杯算法训练VIP-简单加法(基本型) (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; if(n<=3) co…… 题解列表 2019年02月17日 0 点赞 0 评论 901 浏览 评分:2.0
蓝桥杯算法提高VIP-幸运顾客 (C++代码) 摘要: Splay 全局 Kth参考代码:#include <bits/stdc++.h> constexpr auto Inf = 0x3F3F3F3F; typedef long lo…… 题解列表 2019年02月20日 0 点赞 0 评论 1610 浏览 评分:2.0
蓝桥杯算法训练VIP-特殊的数字四十 (C语言代码) 摘要:解题思路:通过式子求出各位上的数字,再通过判断输出符合的答案。注意事项:参考代码:#include<stdio.h>int main(){ int x,a,b,c,d; for(x=100…… 题解列表 2019年02月20日 1 点赞 0 评论 887 浏览 评分:2.0
蓝桥杯基础练习VIP-字符串对比 (C语言代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2019年02月21日 0 点赞 0 评论 773 浏览 评分:2.0
提成计算 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; float sum = 0; scanf("%d",&i); if(i <= 100000)…… 题解列表 2019年02月27日 0 点赞 0 评论 1318 浏览 评分:2.0