ASD
This commit is contained in:
parent
146182ee18
commit
881ada8836
BIN
du2/program
BIN
du2/program
Binary file not shown.
@ -10,7 +10,7 @@ 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 > 0){
|
if (value == 1 && value > 0){
|
||||||
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