fork(1) download
  1. #include <stdio.h>
  2.  
  3. int d=0;
  4. int f(int a,int b){
  5. int c;
  6. d++;
  7. if(b==3)
  8. return a*a*a;
  9. else{
  10. c=f(a,b/3);
  11. return(c*c*c);
  12. }
  13. }
  14.  
  15. int main(){
  16. printf("%d",f(4,81));
  17. return 0;
  18. }
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
Standard output is empty