fork download
  1. #include <stdio.h>
  2.  
  3. int a(int n){
  4. if(n==0)
  5. return 0;
  6.  
  7. else
  8. return 2*a(n-1)+3;
  9. }
  10.  
  11. int main(void) {
  12. printf("%d",a(5));
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5272KB
stdin
Standard input is empty
stdout
93