Problem Description
Loading...
Problem Analysis
The previous contest asked for
the number of odd numbers in the nth row of Pascal’s triangle
and this is essentially the same thing
A generalization of Lucas’ theorem
I referred to Yushen’s blog
hdoj 4349 Xiao Ming’s Hope (Lucas generalization)
cpp
| |
Problem link: HDU 4349 Xiao Ming’s Hope