Advertisement
erfanul007

Timus 1044

Oct 30th, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. int k;
  6. scanf("%d",&k);
  7. if(k==2)
  8. printf("10\n");
  9. else if(k==4)
  10. printf("670\n");
  11. else if(k==6)
  12. printf("55252\n");
  13. else if(k==8)
  14. printf("4816030\n");
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement