if cheaters' ratings are still counted even though they have solved 0 problems.

if cheaters' ratings are still counted even though they have solved 0 problems.

The problem is calculate nCk with n <= 10^18, k <= 10^6 and mod = 10^9 + 7. Can anyone give me some hints or pesudo code. Thanks
107615789 who can explain me ! Thank you.