aaaa
This commit is contained in:
parent
59b6338082
commit
ec4a1d2f43
@ -2,7 +2,7 @@
|
||||
#include<stdlib.h>
|
||||
#include<string.h>
|
||||
#include<math.h>
|
||||
#define SIZE 30
|
||||
#define SIZE 120
|
||||
int main(){
|
||||
char pol[SIZE];
|
||||
memset(pol,'\0',SIZE);
|
||||
@ -14,12 +14,6 @@ int main(){
|
||||
pol[idx]=ch;
|
||||
}
|
||||
|
||||
/*for(int i=0; i<strlen(pol);i++){
|
||||
if(pol[i]=='\n')printf("||");
|
||||
else printf("%c",pol[i]);
|
||||
}*/
|
||||
|
||||
|
||||
int koef=-1;
|
||||
for(int i=0;i<strlen(pol);i++){
|
||||
if(pol[i]=='\n')continue;
|
||||
@ -39,7 +33,6 @@ int main(){
|
||||
long double p=1, n=0;
|
||||
n=strtof(start,&end);
|
||||
start=end;
|
||||
//n=(round(n*1000))/1000;
|
||||
|
||||
p=pow(x,(koef-i)-1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user