#include <stdio.h> //課題3 int rec(int n){ //rec内を完成させてください #include <stdio.h> //課題3 int rec(int n){ //rec内を完成させてください if(n==0){ return 3; } else if (n==1){ return 0; } else if (n==2){ return 2; } else{ return rec(n-2)+rec(n-3); } } } int main(void) { int n = 50; for(int i = 0; i <= n; i++){ } return 0; }
Standard input is empty
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,