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

×

Doubt in Max Grid problem of August long challenge..

Guys... I think the sample test case given is wrongly explained.. If yes.. please let me know.. coz.. the author or the tester of the problem is not responding in the comment sections.. I couldn't even dare to start with out confirming whether i understood it right or not..

https://www.codechef.com/AUG16/problems/MAXGRID

Please visit the comment section of the problem(given in the above link) to read my comment..

asked 13 Aug '16, 18:02

kishu_invain_1's gravatar image

2★kishu_invain_1
1117
accept rate: 0%


I don't see your comment, but I believe sample test case is wrongly explained. They are talking about 2x2 grid, with top-left corner as (2,1) ans bottom right as (3,2), but it should be 1x1 grid, not 2x2

link

answered 13 Aug '16, 18:23

kingarthurie's gravatar image

4★kingarthurie
70347
accept rate: 16%

Thank you for your confirmation.. Btw.. have you solved the problem??

(13 Aug '16, 20:05) kishu_invain_12★

its correct only , val(2,1) = 1 val(2,2) = 0 val(3,1) = 5 val(3,2) = 0 so 2x2 grid has sum 6 and side 2

(14 Aug '16, 15:32) geek_geek4★

@geek_geek, How do you define side length of grid? No of horizontal/vertical points in the grid or the difference b/w its two endpoints?

(14 Aug '16, 15:46) vsp46★

If we use could use 2*2 grid.. all gems could be covered and the whole value will be 7... not 6..

(14 Aug '16, 18:26) kishu_invain_12★

But what the hell it is.. The author of the problem is not responding..

(14 Aug '16, 18:28) kishu_invain_12★
2

@vsp4 and @kishu_invain number of vertical/horizontal points ..

(14 Aug '16, 22:21) geek_geek4★
showing 5 of 6 show all

i think answer is 7 2

link

answered 13 Aug '16, 19:51

ajaybarath3's gravatar image

2★ajaybarath3
1
accept rate: 0%

Thanks for your confirmation.

(13 Aug '16, 20:04) kishu_invain_12★

its correct only , val(2,1) = 1 val(2,2) = 0 val(3,1) = 5 val(3,2) = 0 so 2x2 grid has sum 6 and side 2

(14 Aug '16, 15:32) geek_geek4★

Please clear this sample case. Do cells on the border of the square grid counted inside?

link

answered 14 Aug '16, 15:05

vsp4's gravatar image

6★vsp4
1.2k138
accept rate: 28%

The problem CHAHG -Chef And His Garden seems unclear

https://www.codechef.com/AUG16/problems/CHAHG

Will the sequence for n=6

h1 < h2 < h3 > h4 < h5 > h6

be also considered to be a zig zag sequence along with others?

PLEASE HELP !

Thank You.

link

answered 15 Aug '16, 02:21

zeenius's gravatar image

2★zeenius
1
accept rate: 0%

No, it won't be considered a zig zag sequence.

(15 Aug '16, 22:10) meetrockstar4★

no!only the 2 mentioned .

link

answered 15 Aug '16, 14:49

ankesh18's gravatar image

6★ankesh18
627111
accept rate: 7%

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:

×22

question asked: 13 Aug '16, 18:02

question was seen: 1,449 times

last updated: 15 Aug '16, 22:10