The TopCoder links are broken. Could someone point or explain a better solution than exhaustive search?
Perhaps solving the implicit linear equations system?
Thanks in advance.
Search found 2 matches
- Thu Oct 28, 2010 6:37 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10202 - Pairsumonious Numbers
- Replies: 10
- Views: 6692
- Tue Oct 19, 2010 1:22 am
- Forum: Volume 108 (10800-10899)
- Topic: 10844 - Bloques
- Replies: 15
- Views: 14412
Re: 10844 - Bloques
I'm calculating Bell's numbers using Bell's triangle (as calculating Stirling numbers of the 2nd kind is too slow) and my custom BigInteger class to solve this problem and I get the correct answer, however I'm getting TLE. I keep only prev and current lines of the triangle to lower memory usage. I ...