Never mind. I forgot to loop over the test cases. :))
Can some one please tell me where my solution is going wrong for FAKEBS!! This is my solution. This is another solution Iâve tried to the same question. Irony is that both of them failed for the same test cases
@rj25 unfortunately, it doesnât work that way, If you hover over the rank after filtering, it shows you the rank according to filter.
The Indian rank of first person at 107 is 35.
Itâs a Dynamic Programming problem but you wonât directly reach DP. Realise that two adjacent elements can never be negative. Further an element a[i] can be negative only if a[i-1] > a[i] < a[i+1]. Next if you do above you will get an alternating sequence a[i], a[i+2], a[i+4], ⌠a[i + 2*k] where you have to set some of them to negative such that negative sum is maximized but you can not select two adjacent elements. This is where DP comes into the picture. This another version of the classic DP problem âMaximise the sum of array such that no two elements are adjacent.â.
How long till the editorials come out?
Also, there arenât any editorials for April Lunchtime yet. ( The links are there but they redirect to a 404 )
I am in talks with them. I will update on the issue as and when possible
Where is the editorial for May LONG Challenge?
Here are our editorials: https://blancode.wordpress.com/codechef-contests/may18/
Itâs mostly in laymanâs terms, but if you need any kind of help, do not hesitate in wrtiting to us.
For April lunchtime? I dont think I have permission to give it out publicly. You can PM/mail if youâre very curious.
Here is my solution: https://discuss.codechef.com/questions/126885/my-solution-to-s-t-mincut-from-may18
Here is my solution: https://discuss.codechef.com/questions/126885/my-solution-to-s-t-mincut-from-may18
I meant any updates about May Long Editorials. I saw that only DBFB is out and I read somewhere that the editorialist needs time but that was 2 days ago I think.
I know many people have posted their solutions for some problems but not SERSUM, which is the main reason Iâm asking for editorials. Iâll open up a new question if the editorials take too long but itâs better to keep all the discussion about the problem on the editorial page itself.
@vijju123
@psaini72 - That DFDB editorial is unofficial one. Because the editorialist for this contest is @triveni (also, the editorialist doesnt mention setterâs solution, name of tester etc.).
Yes, I agree it feels frustrating to you. The same case is with April Lunchtime as well. The editorialist needs more time/is stuck. I am trying my best to make sure something is done about them, and that they arent forgotten.
No use opening a new question tbh. @admin sees it here. I mean, if a I am already working on it, what more can a question do?
I am trying my best for a speedy solution, I assure that
Hello all,
In view of delay of editorials, I had a discussion with @mgch and @admin , and we decided that due to issues with current Editorialist, Problem Tester (Suchan Park) will now write the editorials. I assure you that this task is at highest priority for contest admin @mgch and @admin and they will try their best to provide you guys with quality editorials of the problems.
Regards
@vijju123