You are not logged in. Please login at www.codechef.com to post your questions!

×

nmnmx what is wrong in this?

asked 18 Jul '18, 14:10

darklord_chef's gravatar image

5★darklord_chef
12
accept rate: 0%


@darklord_chef you can't just divide by 'j' while calculating the binomial coefficients. Instead you need to take modulo multiplicative inverse of 'j'.

link

answered 18 Jul '18, 14:14

aman_robotics's gravatar image

6★aman_robotics
1217
accept rate: 6%

correct...

(18 Jul '18, 15:38) l_returns5★
toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×4

question asked: 18 Jul '18, 14:10

question was seen: 127 times

last updated: 18 Jul '18, 15:38