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

×

IOPC14A ; small doubt

given a=n! and b as stated in the question http://www.codechef.com/problems/IOPC14A .Isnt it enough to just find (n!/b)%2 and this can be written as (n!)%2 * (b^(2-2))%2 =(n!)%2

am i wrong in assuming something because i m using fermet's little theorm

asked 28 Jun '14, 16:18

Sandeepripping's gravatar image

4★Sandeepripping
1
accept rate: 0%

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:

×3

question asked: 28 Jun '14, 16:18

question was seen: 246 times

last updated: 28 Jun '14, 16:18