Skip to content

Conversation

@Ishi2702
Copy link

Solution2

@vansh2365
Copy link

#include
using namespace std;
int Count(int n){
int a=1,e=1,i=1,o=1,u=1;
while(--n){
u=u;
o +=u;
i+=o;
e+=i;
a+=e;
}
return a+e+i+o+u;
}
int main(){
int n;
cin>>n;
int sol=Count(n);
cout<<sol<<endl;
return 0;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants