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

×

Why am I getting 10% wrong answer on this question?

Question : https://www.urionlinejudge.com.br/judge/en/problems/view/1168 My solution : http://ideone.com/RW5deD Gives correct answer on 90% cases. I don't find any corner cases here. Where am I going wrong?

asked 05 Dec '14, 14:46

h1ashdr%40gon's gravatar image

3★h1ashdr@gon
2912320
accept rate: 10%


Bump.Anybody?

link

answered 15 Dec '14, 20:25

h1ashdr%40gon's gravatar image

3★h1ashdr@gon
2912320
accept rate: 10%

why donot you use string in place of biginteger .

link

answered 15 Dec '14, 20:26

acodebreaker2's gravatar image

1★acodebreaker2
1.2k12
accept rate: 18%

But Biginteger never fails either,I'm just curious why is there this 10% fallacy in the code,but yeah I can consider using string too.

(15 Dec '14, 20:29) h1ashdr@gon3★
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:

×690
×54
×39
×1
×1

question asked: 05 Dec '14, 14:46

question was seen: 3,720 times

last updated: 15 Dec '14, 20:29