Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
wallstquant
· 10y ago · 0 comments
Except in your program you forget to count the number of 2's as well and take the minimum of these two numbers.
Comments
[–]
wallstquant
OP
10y ago
Well. I suppose you're only solving n! So you're fine