失眠飞行


私信TA

用户名:202012211207

访问量:3742

签 名:

等  级
排  名 1209
经  验 2978
参赛次数 0
文章发表 22
年  龄 0
在职情况 学生
学  校 自由
专  业

  自我简介:

#include<stdio.h>
int main()
{
	int max,n;
	scanf("%d",&n);
	max=n;
	while(n!=-1){
		scanf("%d",&n);
		if(n!=-1){
			if(max<=n){
				max=n;
			}
		}
	}
	printf("%d\n",max);
	return 0;
}
 

0.0分

5 人评分

看不懂代码?想转换其他语言的代码? 或者想问其他问题? 试试问问AI编程助手,随时响应你的问题:

编程语言转换万能编程问答  

代码解释器

代码纠错

SQL生成与解释

  评论区

吾乃元始天尊,优秀
2022-12-14 23:20:21
  • «
  • 1
  • »