蓝桥杯2014年第五届真题-拼接平方数 (C++代码) 摘要:#include"bits/stdc++.h" using namespace std; int f(int n) { int i = 1; while (n != 0) { …… 题解列表 2018年08月02日 0 点赞 0 评论 1111 浏览 评分:0.0
C语言考试练习题_一元二次方程 (C++代码) 摘要:解题思路:1、判断deta的值;deta>0,x1=-b+sqrt(deta)/2*a;x2=-b-sqrt(deta)/2*a;deta=0,x1、x2=-b/2*a;此题不需考虑复数解得情况,若考…… 题解列表 2018年08月03日 0 点赞 0 评论 1424 浏览 评分:0.0
字符逆序 (C语言)mirage解题记录 摘要:解题思路:两个字符串数组,字符串1 输入,逆向赋值给 字符串2注意事项:1.数组下标-1;参考代码:#include<stdio.h> #include<string.h> #define N 1…… 题解列表 2018年08月03日 17 点赞 1 评论 661 浏览 评分:0.0
换硬币 (C++代码) 摘要:解题思路:注意事项:参考代码:简单点#include<iostream>using namespace std;int main(){ int n, a[10] = { 1,2,3,5,8,13,21…… 题解列表 2018年08月03日 0 点赞 0 评论 1687 浏览 评分:0.0
三位数反转 (C++代码) 摘要:解题思路:注意事项:参考代码:简单点#include<iostream>using namespace std;int main(){ int n; while (cin >> n) cout <<…… 题解列表 2018年08月03日 0 点赞 0 评论 849 浏览 评分:0.0
蛇行矩阵 C语言 mirage解题记录 动态数组 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> main() { int n,i,j,num,*row[100]={NULL}; …… 题解列表 2018年08月03日 15 点赞 0 评论 1052 浏览 评分:0.0
王牌花色 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<iostream>using namespace std;int n, t, m,…… 题解列表 2018年08月03日 0 点赞 0 评论 1743 浏览 评分:0.0
装包装箱问题 (C++代码) 摘要:解题思路:注意事项:参考代码:用到数学函数ceil求较大整值#include<stdio.h>#include<math.h>#include<iostream>using namespace std…… 题解列表 2018年08月03日 1 点赞 0 评论 993 浏览 评分:0.0
鸡兔同笼 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#include<iostream>using namespace std;int main() { i…… 题解列表 2018年08月03日 0 点赞 0 评论 1199 浏览 评分:0.0
DNA C语言 mirage解题记录 摘要:解题思路:1.先弄一个二维基本结构,定义二维数组初始化全部空格,再把对应位置改为 X 。3.循环b次输出即可。注意事项:基本结构为一个 a列 * (a-1)行 的矩阵,循环完成最后一行单独输出。参考…… 题解列表 2018年08月03日 26 点赞 2 评论 506 浏览 评分:0.0