标签:led sea AC ... ble search 题目 \n while
7 6 5 9 2 -1
9
...
#include<stdio.h>
#include<limits.h> //....tou wenjian
int main()
{
int score, max;
max = INT_MIN;
while( scanf("%d", &score), score >= 0) //逗号表达式
{
if(score > max)
max = score;
}
printf("%d\n", max);
return 0;
}
标签:led sea AC ... ble search 题目 \n while
原文地址:https://www.cnblogs.com/binanry/p/9217292.html