fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3. #define a 1
  4. #define b 1
  5.  
  6. int main(void) {
  7. int answer;
  8. answer=(pow((a+b),3)-pow(a,3))/(3*a*pow(b,2)+pow(b,3)+3*pow(a,2)*b);
  9. printf("%d\n", answer);
  10. return 0;
  11. }
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
1