May Long- Chef and Strange Matrix (CHEFBM)

In p[i][j], will all the p[i][0] be sorted in ascending order?
Ex:
(2 2)
(3 2)
(3 2)
(4 3)
(4 4)
(4 3)
is the only way or can this be written in this way too:
(3 2)
(3 2)
(2 2)
(4 3)
(4 4)
(4 3)
?

2 Likes

Dont discuss here or ask for hints its against code of conduct

Pardon, but this is just clarification right?

Dont discuss here or ask for hints its against code of conduct

1 Like

I tried posting it in the comments section under the question but I cannot see the comments.

3 Likes

u can ask on problem page theres option for asking question

I tried posting it in the comments section under the question but I cannot see the comments.
BTW, how is this cheating? Im just clarifying the question.

1 Like

try it again than but dont post it here while contest is going on

Who said its cheating ??

I don’t understand how is this cheating? I’m just clarifying the input format.

Then why shouldn’t I ask it here? How is it against the code of conduct?

discussing a question here while the contest is going on it is against code of conduct go through the rules …

I’m not discussing the strategy.
The rules say “You can post questions regarding any clarification in the problem statement.”

1 Like

so just clarify on contest page…

@karan_saxsen plz read this
Please do not discuss strategy, suggestions or tips in the comments during a live contest. Posting questions clarifying the problem statement is ok.

how is this a “strategy, suggestion or tip”?

2 Likes

My opinion is, that this is one of very few good questions…

Please do not assume something not written in problem statement…

3 Likes

A slight modification of the question can be-" Will the order of modification of arrays be in increasing order in all test cases?"
But then I guess this is the beauty of coding contest. You may solve problems based on assumptions and they may backfire. Risky thing. Cannot assume anything not given in problem statement.

please clarify

if as per constraints 1 ≤ n, m. then if m and n both are 1. i.e. only one element in the matrix. then how cost can be calculated through a(i)(j) - a(i)(j - 1).

1 Like
//