artemgf

Летопись GOV

Apr 29th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.38 KB | None | 0 0
  1. #include <iostream>
  2. #include <conio.h>
  3. #include <math.h>
  4. #include <string>
  5. #include <algorithm>
  6.  
  7. using namespace ::std;
  8.  
  9. int main()
  10. {
  11.     int n, d[13];
  12.     cin >> n;
  13.     d[0] = 5;
  14.     d[1] = 21;
  15.     d[2] = 12;
  16.     d[3] = 2;
  17.     d[4] = 1;
  18.     d[5] = 4;
  19.     d[6] = 6;
  20.     d[7] = 1;
  21.     d[8] = 4;
  22.     d[9] = 4;
  23.     d[10] = 1;
  24.     d[11] = 0;
  25.     d[12] = 1;
  26.     d[13] = 1;
  27.     cout << d[n];
  28.     _getch();
  29.     return 0;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment