ASD
This commit is contained in:
parent
c5aa70da6e
commit
6fcd11cdf0
@ -10,9 +10,9 @@ int main(){
|
||||
while(1){
|
||||
int value = 0;
|
||||
int r = scanf("%d",&value);
|
||||
if (r == 1){
|
||||
if(r == EOF)
|
||||
if(r == EOF || r < 0)
|
||||
continue;
|
||||
if (r == 1){
|
||||
results[i] = value;
|
||||
if(max < results[i]){
|
||||
max = results[i];
|
||||
|
Loading…
Reference in New Issue
Block a user