数据结构-最小生成树 (C语言代码) 摘要:解题思路: 留个笔记,普鲁斯卡尔算法(和本题数据不符)注意事项:参考代码:#include <iostream> using namespace std; struct mp{ …… 题解列表 2018年07月13日 0 点赞 0 评论 1946 浏览 评分:0.0
C二级辅导-公约公倍 (C语言代码) 摘要:解题思路:注意事项: 我猜可能会有人问为什么不需要判断两个数的大小,我在这里的解释是 执行一次辗转相除, 就可以交换两个数. (不信自己试试) …… 题解列表 2018年07月13日 1 点赞 0 评论 1502 浏览 评分:0.0
此解可AC (C语言代码) 摘要:解题思路:注意事项: 此解可AC 注意数据类型参考代码:#include<stdio.h>int…… 题解列表 2018年07月13日 3 点赞 0 评论 1220 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int a[5], b, i; scanf("%d", &b); for (i = 0; b!=0; i++…… 题解列表 2018年07月14日 0 点赞 0 评论 640 浏览 评分:0.0
String类Byte数组构造方法与ASCII码的简单结合。。题解1161:【回文数(二)】 (Java代码) 摘要:解题思路:String类数组构造方法与ASCII码的简单结合。。代码块有点长,但思路很简单。。注意事项:已在代码块部分标明注释参考代码:import java.util.Scanner;public …… 题解列表 2018年07月14日 0 点赞 0 评论 2164 浏览 评分:0.0
此题可AC (C语言代码) 摘要:解题思路:注意事项: 此题可AC参考代码:#include<stdio.h>int main(){ int n, sum; scanf("%d", &n); sum = (3…… 题解列表 2018年07月14日 1 点赞 0 评论 1139 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路 这个是正确的!注意事项:参考代码:#include<stdio.h>int main(){ char c1, c2, c3, c4, c5; c1 = 'C'; c2 = &…… 题解列表 2018年07月14日 0 点赞 0 评论 807 浏览 评分:0.0
蓝桥杯算法提高- c++_ch02_03 (C语言代码) 摘要:#include <stdio.h> int num[3][3]={//3*3的表格 0,-1,1, 1,0,-1, -1,1,0 }; int main(){ int a,b,n; …… 题解列表 2018年07月14日 5 点赞 0 评论 1155 浏览 评分:0.0
C二级辅导-分段函数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float x, y; scanf("%f", &x); if (x < 1) y = x; else if …… 题解列表 2018年07月14日 2 点赞 0 评论 997 浏览 评分:0.0
迷宫问题 (C++代码) 摘要:解题思路: 简单 BFS题 注意事项: 多组数据注意初始化即可参考代码:#include <queue> #include <iostream> #include <cstring> using…… 题解列表 2018年07月14日 1 点赞 0 评论 752 浏览 评分:0.0