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

×

WA in MAXNUM3 in 1st subtask

can anyone tell any testcase where its going wrong? It gave AC in 2nd subtask and WA in 1st. https://ideone.com/yKzrA3 Thanks :)

asked 28 Oct '17, 23:35

rockstarsam's gravatar image

4★rockstarsam
233
accept rate: 0%


Well, It seems like a corner case included in 1st test case but not in second :P. Consider yourself lucky for 70 points. :P.

I'll tell if i find that corner case.

link

answered 29 Oct '17, 00:15

taran_1407's gravatar image

6★taran_1407
4.0k31103
accept rate: 22%

Mate, can you explain the role of variable p in your code?

(29 Oct '17, 00:46) taran_14076★

Here's one-> 1 1 9

link

answered 29 Oct '17, 17:02

skpro19's gravatar image

3★skpro19
0
accept rate: 0%

code I am suffering from the same though :P

link

answered 30 Oct '17, 14:36

striverlearner's gravatar image

3★striverlearner
46910
accept rate: 0%

link

answered 30 Oct '17, 23:32

pk301's gravatar image

2★pk301
62710
accept rate: 16%

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:

×21

question asked: 28 Oct '17, 23:35

question was seen: 434 times

last updated: 30 Oct '17, 23:32