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!

ha-ha-ha
Posted by holtaf 14 Nov 2010 15:18
#include<iostream>
using namespace std;
int main()
{

int n;
cin>>n;
switch(n)
{case 2:
cout<<10;break;
case 4:
cout<<670;break;
case 6:
cout<<55252;break;
case 8:
cout<<4816030;break;
}
return 0;
}
Re: ha-ha-ha
Posted by zAlogic 13 Dec 2010 16:35
lol
http://ega-math.narod.ru/Quant/Tickets.htm
need learn math )

Edited by author 13.12.2010 16:36
nnn
Posted by Mohigul Rahmonova 3 Feb 2012 16:53


Edited by author 03.02.2012 16:53
Re: ha-ha-ha
Posted by Igor 5 Mar 2017 00:27
print(([0,10,670,55252,4816030])[int(input())//2])
hahahahahahaha
Re: ha-ha-ha
Posted by Said707 24 Nov 2017 22:40
:D
Re: ha-ha-ha
Posted by S.M.KHALED MORSHED 17 Feb 2020 06:55
ha ha