ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1044. Lucky Tickets. Easy!

Accepted
Posted by Habib [ Tashkent U of IT ] 13 Oct 2011 19:56
#include <stdio.h>

    int main()
    {
     int N;
     scanf("%d", &N);
     switch(N)
     {
      case 2: printf("10\n"); return 0;
      case 4: printf("670\n"); return 0;
      case 6: printf("55252\n"); return 0;
      case 8: printf("4816030\n"); return 0;
      default: return 0;
     }
     return 0;
    }
Re: Accepted
Posted by Macarie 13 Oct 2011 20:09
wow!!!
Re: Delete!!!!
Posted by AlisheR Tojiev [☆TUIT★] 15 Oct 2011 18:24
Delete your code Habib!!!!
Re: Accepted
Posted by rlavila 25 Oct 2011 19:52
its too easy, the problem is how generate all combinations possibles, can you tell me!!!!!!...
Re: Accepted
Posted by Kernel Pwnic 11 Dec 2011 16:06
LOL - Seriously ??