Advertisement
Malinovsky239

УРКОП 2011: A

Oct 22nd, 2011
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. #include <cstdio>
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6. int res[] = {5, 20, 12, 2, 1, 4, 6, 1, 4, 4, 1, 0};
  7.  
  8. int main() {
  9.     int a;
  10.     cin >> a;
  11.     cout << res[a];
  12.     return 0;
  13. }
  14.  
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement