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