蛇行矩阵 (Java代码),运用循环, 摘要:解题思路:注意事项:还有瑕疵,还能改进,希望提出参考代码:public static void main(String[] args) { // TODO Auto-generated method…… 题解列表 2018年12月08日 0 点赞 0 评论 726 浏览 评分:0.0
DNA (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N; scanf("%d",&N); while(N>0)/*输入组数*/ { int a,b; s…… 题解列表 2018年12月08日 1 点赞 0 评论 1035 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.1 (C++代码) 摘要:解题思路: 之前有一道求最大公约数和最大公倍数的题,其实思路是一样的只不过这里要求用两个函数来实现,有一个很巧妙的地方就是要明白最大公倍数和最大公约数的关系注意事项: C++是不能嵌套定义函数…… 题解列表 2018年12月08日 0 点赞 0 评论 1140 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x , y ; y = 0; scanf("%d",&x); if(x < 1)…… 题解列表 2018年12月08日 0 点赞 0 评论 754 浏览 评分:0.0
【出圈】 (C语言代码) 摘要:解题思路: 分享一个链表注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct node{ int no; struct node*nex…… 题解列表 2018年12月08日 0 点赞 0 评论 608 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:三目运算看的眼花,太绕,头晕!注意事项:参考代码:#include<stdio.h>void bdx(int *a, int *b);//自定义函数,接收两个欲比较数的指针int main(…… 题解列表 2018年12月08日 2 点赞 0 评论 1433 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C++代码) 摘要:解题思路:千篇一律,哎!注意事项:参考代码:新颖一点的方法:#include<stdio.h> int main() { printf("************************…… 题解列表 2018年12月08日 13 点赞 2 评论 1456 浏览 评分:4.5
未调用系统函数,相看过程的同学速来…… 摘要:解题思路:别人的函数是个“黑箱子”!原理还得自己摸索;注意事项:指针操作较多,有点绕参考代码#include<stdio.h>void bdx(int *a , int *b );//自定义函数,比较…… 题解列表 2018年12月09日 3 点赞 0 评论 1302 浏览 评分:4.0
蓝桥杯2017年第八届真题-填字母游戏 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int T;string str ; int fun(string str){ i…… 题解列表 2018年12月09日 0 点赞 0 评论 1524 浏览 评分:5.0
蓝桥杯2017年第八届真题-发现环 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int maxn = 1e5+5;int pre[maxn];int …… 题解列表 2018年12月09日 0 点赞 0 评论 1165 浏览 评分:0.0