[编程入门]三个数字的排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define swap(m,n) {int t;t=m;m=n;n=t;}int main(){ int a,b,c,min; …… 题解列表 2019年05月06日 0 点赞 0 评论 488 浏览 评分:0.0
[编程入门]三个数字的排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define swap(m,n) {int t;t=m;m=n;n=t;}int main(){ int a,b,c,min; …… 题解列表 2019年05月06日 0 点赞 0 评论 524 浏览 评分:0.0
[编程入门]三个数字的排序 (C语言代码) 摘要:解题思路:先说一下思路,从逐个试的方法引出嵌套循环方法注意事项:参考代码:/*冒泡法思路:依次用前一个与后一个比较,将大的后移*/#include<stdio.header>int m (){ i…… 题解列表 2019年04月23日 0 点赞 0 评论 859 浏览 评分:0.0
[编程入门]三个数字的排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3],s; for(int i=0;i<3;i++){ scanf("%d…… 题解列表 2019年04月19日 2 点赞 0 评论 835 浏览 评分:0.0
[编程入门]三个数字的排序 (C++代码) 摘要:解题思路: 三个字符排序? 如果对c++有点了解的话,c++的stl里面是有个set容器的,set是STL中一种标准关联容器。它底层使用平衡的搜索树——红黑树实现,插入删除操作时仅仅需要指…… 题解列表 2019年04月16日 0 点赞 0 评论 1221 浏览 评分:0.0
[编程入门]三个数字的排序 (C++代码) 摘要:解题思路: 直接c++sort排序,c++真香注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[3];…… 题解列表 2019年04月16日 0 点赞 0 评论 495 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c; scanf("%d%d%d", &a, &b, &c); int m…… 题解列表 2019年04月02日 0 点赞 0 评论 487 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args) { …… 题解列表 2019年03月10日 0 点赞 0 评论 395 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:#include<stdio.h>int main(){ int a,b,c,d; scanf("%d%d%d",&a,&b,&c); if(a>b) { d=a; a=b; b=d; } if…… 题解列表 2019年02月11日 0 点赞 0 评论 482 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t; scanf("%d%d%d",&a,&b,&c); if(a>b)/…… 题解列表 2019年02月08日 0 点赞 0 评论 419 浏览 评分:0.0