fork download
  1. #include <stdio.h>
  2. //課題3
  3. int rec(int n){
  4. //rec内を完成させてください
  5.  
  6. }
  7.  
  8. int main(void) {
  9. int n = 50;
  10. for(int i = 0; i <= n; i++){
  11. printf("%d, ", rec(i));
  12. }
  13.  
  14. return 0;
  15. }
  16.  
  17.  
Success #stdin #stdout 0.01s 5308KB
stdin
Standard input is empty
stdout
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,