fork download
  1. #include<math.h>
  2. #define p(a) cpow(a,1./a)
  3.  
  4. #include <stdio.h>
  5.  
  6. int main(void) {
  7. printf("%f",p(-2));
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
0.000000