CENS20A - Editorial

:flushed:

4 Likes

Kindly anyone provide a counter test-case for my WA Code.
Submission Link

my solution giving TLE why?
https://www.codechef.com/viewsolution/36984523

this is a seriously good editorial. Kudos!

12 Likes

Your code gives wrong output for the input:
3 3
000
000
000
1
1 2 2 2

Your code outputs :
000
110
000
instead of
010
010
000

1 Like

https://www.codechef.com/viewsolution/37003622
I feel my code is much less time consuming than the code provided, please tell me why it is showing TLE

Your code’s time complexity is O(N M Q) which will surely give TLE.

1 Like

nice editorial

1 Like

Nice Editorial @sarthak_eddy

Thanks :slightly_smiling_face:.

1 Like

Can anyone pls tell me why I got TLE? Nice Editorial btw.

https://www.codechef.com/viewsolution/37002169

Heyy bro, in the proof of 2D range update, is it (2,1) or (2,2) ?

Are you for real?
Bruteforcing each query and “feeling much less time consuming”.

5 Likes

Sorry it’s a typo. It is (2,2).

3 Likes

:neutral_face: really disappointed apart from incrementing x2+1,y2+1 index everything was crct…But really a great contest learnt a lot

4 Likes

Editorials are awesome!!

Learnt a lot from this contest. Hoping for more in the future

3 Likes

@sarthak_eddy kudos to him for writing such awesome editorials.

Thanks you enjoyed the contest, hopefully we will come with another contest soon

6 Likes

can someone tell me what is wrong with my code(it is giving a tle)
https://www.codechef.com/viewsolution/36985305

1 Like

Can anyone help me in this solution it is saying TLE.

https://www.codechef.com/viewsolution/36998342

why my code got TLE for this question? here is my submission