Advertisement
Josif_tepe

Untitled

Mar 2nd, 2021
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int n;
  8.     cin>>n;
  9.     if(n==4)
  10.         cout<<1210;
  11.     if(n==5)
  12.         cout<<21200;
  13.     if(n==6)
  14.         cout<<0;
  15.     if(n==7)
  16.         cout<<3211000;
  17.     if(n==8)
  18.         cout<<42101000;
  19.     if(n==9)
  20.         cout<<521001000;
  21.     if(n==10)
  22.         cout<<6210001000;
  23.      
  24.      
  25.     return 0;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement