C语言训练-最大数问题 (C语言代码)(骗赞系列一) 摘要:#include<stdio.h> int main() { int a,b,max; scanf("%d",&a); max=a; while(scanf("%d",&a)&&a…… 题解列表 2019年03月09日 1 点赞 2 评论 688 浏览 评分:9.0
为啥老是显示我的答案错误,谁能看出来? 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;void fun(int& a,int& b){ int t; t=a; b=a; a=b;}…… 题解列表 2019年03月05日 0 点赞 0 评论 1047 浏览 评分:0.0
。。水一下。。:C语言训练-最大数问题 (C语言代码) 摘要:#include<stdio.h> int main() { int max,n; scanf("%d",&n); if(n==-1) return 0; max=n; fo…… 题解列表 2019年02月17日 2 点赞 1 评论 839 浏览 评分:0.0
精炼不出错(C语言代码) 摘要:解题思路:先输入一个数,然后判定不为-1继续输出,直到为-1时程序终止并输出最大值注意事项:参考代码:#include <stdio.h> int main() { int n…… 题解列表 2019年01月20日 10 点赞 1 评论 847 浏览 评分:4.4
limits.h库函数 摘要:参考代码:#include<stdio.h> #include<limits.h> int main() { int n,max=INT_MIN; while(scanf("…… 题解列表 2019年01月13日 0 点赞 0 评论 2129 浏览 评分:0.0
C语言训练-最大数问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int max,x; scanf("%d",&x); max=x; while(scanf("%d",&x)…… 题解列表 2018年07月30日 0 点赞 0 评论 1656 浏览 评分:0.0
C语言训练-最大数问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; int max = -999999;…… 题解列表 2018年06月05日 0 点赞 2 评论 1517 浏览 评分:6.0
C语言训练-最大数问题 (C语言代码) 摘要:#include <stdio.h> #include <string.h> int main(void) { int a[100], l; int i = 0, …… 题解列表 2018年05月25日 0 点赞 0 评论 2002 浏览 评分:0.0
C语言训练-最大数问题 (C语言代码) 摘要:解题思路:写一个死循环,一直输入数字,当不是-1的时候判断,max和num的大小,如果num大则max=num;如果等于-1,退出循环。注意事项:参考代码:#include <stdio.h>int …… 题解列表 2018年04月22日 0 点赞 0 评论 1055 浏览 评分:0.0
C语言训练-最大数问题 (C语言代码) 摘要:解题思路:注意事项:结束标志不参与。参考代码:/*输入若干个整数,以-1标记输入结束。输出其中的最大数*/#include <stdio.h>int main(){ int a[999],i,max;…… 题解列表 2018年03月07日 0 点赞 0 评论 1342 浏览 评分:0.0