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

×

Help,BROCLK

Can you help me out , what I was missing in it https://www.codechef.com/viewsolution/17413818

asked 13 Feb, 19:27

ayush_codechef's gravatar image

3★ayush_codechef
517
accept rate: 0%


Ohk,the thing is that u cannot convert it to decimal and then reconvert to fraction,the reason is quite simple the denominator will be around 10^(10000000),and u cant get that much precision.

link

answered 13 Feb, 20:07

vivek_1998299's gravatar image

5★vivek_1998299
1.2k18
accept rate: 21%

thank u :)

(14 Feb, 10:31) ayush_codechef3★
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:

×232
×154

question asked: 13 Feb, 19:27

question was seen: 209 times

last updated: 14 Feb, 10:31