Aktualizovat „a1/program.c“
This commit is contained in:
parent
81c0fd57a4
commit
493dcbded2
@ -17,7 +17,7 @@ int main()
|
|||||||
}
|
}
|
||||||
value=0;
|
value=0;
|
||||||
for(int i =0;i<count;i++){
|
for(int i =0;i<count;i++){
|
||||||
value+=arr[i]*pow(x,count-i);
|
value+=arr[i]*pow(x,count-1-i);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(value>=40000){
|
if(value>=40000){
|
||||||
|
Loading…
Reference in New Issue
Block a user