Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <conio.h>
- #include <math.h>
- #include <string>
- #include <algorithm>
- using namespace ::std;
- int main()
- {
- int n, d[13];
- cin >> n;
- d[0] = 5;
- d[1] = 21;
- d[2] = 12;
- d[3] = 2;
- d[4] = 1;
- d[5] = 4;
- d[6] = 6;
- d[7] = 1;
- d[8] = 4;
- d[9] = 4;
- d[10] = 1;
- d[11] = 0;
- d[12] = 1;
- d[13] = 1;
- cout << d[n];
- _getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment