fork download
  1. #include <stdio.h>
  2.  
  3. int horner(int wsp[],int st, int x)
  4. {
  5. int wynik = wsp[0];
  6.  
  7. for(int i=1;i<=st;i++)
  8. wynik = wynik*x + wsp[i];
  9.  
  10. return wynik;
  11. }
  12.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty