Stack Exchange
log in
chat
meta
about
Stack Exchange
All Sites
Hot Questions
Top Users
Newsletters
Blogs
John Smith
top
accounts
reputation
activity
favorites
subscriptions
Top Questions
21
votes
Fast way to calculate n! mod m where m is prime?
algorithm
factorial
modulus
asked Mar 15 '12 at 20:50
stackoverflow.com
12
votes
Fast n choose k mod p for large n?
c++
algorithm
recursion
modular
asked Apr 12 '12 at 5:57
stackoverflow.com
11
votes
C++: Optimizing speed with vector/array?
c++
vector
asked Apr 13 '12 at 13:18
stackoverflow.com
10
votes
Segmented Sieve of Eratosthenes?
algorithm
numbers
primes
sieve-of-eratosthenes
asked Apr 20 '12 at 15:47
stackoverflow.com
7
votes
Is there a way to do (A*B) mod M without overflow for unsigned long long A and B?
c++
numbers
overflow
asked Nov 20 '12 at 0:18
stackoverflow.com
6
votes
How to generate all multiplicative partitions of a number if I have a list of primes/exponents?
python
algorithm
number-theory
asked Nov 15 '12 at 1:58
stackoverflow.com
Top Answers
No answers with score of 5 or more
Stack Exchange works best with JavaScript enabled