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