蓝桥杯算法提高VIP-数组替换 (C语言代码) 摘要:解题思路:难受 注意事项:参考代码:#include <bits/stdc++.h>using namespace std;void f(int a[],int x,int b[],int y){ …… 题解列表 2018年11月13日 0 点赞 0 评论 400 浏览 评分:0.0
输入得同时就判断就好了 摘要:解题思路:两个数组 输入得同时判断注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int ans[10000];int bns[10000]…… 题解列表 2018年11月13日 0 点赞 0 评论 605 浏览 评分:0.0
蓝桥杯基础练习VIP-报时助手 (C++代码)(条件语句) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;string ans[100]={"zero","one","two","thre…… 题解列表 2018年11月13日 0 点赞 0 评论 617 浏览 评分:0.0
就是想做麻烦 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int n,a[100],i,s; scanf("%d",&…… 题解列表 2018年11月12日 1 点赞 1 评论 346 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,sum; scanf("%d %d",&a,&b); sum=a+b;…… 题解列表 2018年11月12日 0 点赞 0 评论 419 浏览 评分:0.0
蓝桥杯基础练习VIP-龟兔赛跑预测 (C++代码) 摘要:解题思路:思路就是这样子写,一开始的路程都设为0,判断m1-m2>=t ,符合兔子就偷懒,不符合的,两个都开始向前跑1s,再往下判断是不是超出了长度 l ,一、如果两个都超出了 l ,那么两个同时到达…… 题解列表 2018年11月12日 1 点赞 0 评论 633 浏览 评分:0.0
蓝桥杯算法提高VIP-复数求和 (C语言代码) 摘要:解题思路: %+-d :如果该数是整数则输出 + 反之输出 - 例如:a=6, %+-a,输出+6; b=-3, %+-b, 输出 -3;注意事项:参考代码:…… 题解列表 2018年11月12日 2 点赞 0 评论 804 浏览 评分:8.7
蓝桥杯算法提高VIP-单词个数统计 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio> #include <cstdlib> #include <iostream> #include <cmath> #includ…… 题解列表 2018年11月12日 3 点赞 0 评论 776 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:在读取的时候,寻找最大值和累计平均分注意事项:参考代码:struct student{ char num[10]; char name[8]; int scor…… 题解列表 2018年11月12日 0 点赞 0 评论 787 浏览 评分:0.0
蓝桥杯2014年第五届真题-兰顿蚂蚁 (思路清晰只用到stdio.h头文件)(C语言代码) 摘要:解题思路:读题目可知其实就是对数组的操作,首先输入一个m行n列的数组和蚂蚁的初始信息之后按照题目进行相应操作。这里可以用一个switch语句匹配蚂蚁的头朝向再按题目要求操作。注意事项:1.不要把蚂蚁走…… 题解列表 2018年11月12日 1 点赞 0 评论 936 浏览 评分:7.0