Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int n;
- cin>>n;
- if(n==4)
- cout<<1210;
- if(n==5)
- cout<<21200;
- if(n==6)
- cout<<0;
- if(n==7)
- cout<<3211000;
- if(n==8)
- cout<<42101000;
- if(n==9)
- cout<<521001000;
- if(n==10)
- cout<<6210001000;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement