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