This commit is contained in:
Yaroslav Orlianskyi 2022-03-09 15:12:14 +01:00
parent 3af41b04fc
commit d486c225fb
3 changed files with 2 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -11,6 +11,8 @@ int main(){
int value = 0;
int r = scanf("%d",&value);
if (r == 1){
if(r < 0 && r > 1000)
continue;
results[i] = value;
if(max < results[i]){
max = results[i];