From 32552ff9bcc3a83b690578704bab07998f317a3d Mon Sep 17 00:00:00 2001 From: Pavlo Tverdyi Date: Tue, 17 Mar 2020 13:30:23 +0000 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82=D1=8C=20'a?= =?UTF-8?q?1'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a1 | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 a1 diff --git a/a1 b/a1 deleted file mode 100644 index 34434f6..0000000 --- a/a1 +++ /dev/null @@ -1,26 +0,0 @@ -#include -#include -#include -int main() -{ - int i,c; - double x; - double result=0; - scanf("%lF",&x); - double *array; - array = (double*) malloc(1000); - for(i=0,c=1;i0; i--,j++){ - printf("%.2F ",array[j]); - result+=array[i-1]*pow((double)x,j); - } - - printf("%.2F",result); - free(array); - return 0; -}