ASD
This commit is contained in:
parent
6d9be1dc22
commit
a644b3042f
BIN
du2/program
BIN
du2/program
Binary file not shown.
@ -3,7 +3,7 @@
|
||||
|
||||
int main(){
|
||||
int results[VELKOST_POLA];
|
||||
int max = results[0];
|
||||
int max;
|
||||
int i = 0;
|
||||
int first;
|
||||
int a = 0;
|
||||
@ -12,6 +12,7 @@ int main(){
|
||||
int r = scanf("%d",&value);
|
||||
if (r == 1){
|
||||
results[i] = value;
|
||||
max = results[0];
|
||||
if(max < results[i]){
|
||||
max = results[i];
|
||||
first = i + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user