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 1055. Combinations

tests
Posted by luckysundog 16 Dec 2011 12:31
1 1
0

1 50000
5130

50000 1
2

19 40320
4204

p.s. why time limitation is 2sec? it can be solved very fast using Lucas theorem.

Edited by author 16.12.2011 12:47
Re: tests
Posted by GastonFontenla 2 Jan 2016 09:03
Your tests are invalid. M < N. So you posted three bad cases. The only correct is 50000 1.