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