and i submitted the solution of second question but it somehow got submitted in 1st one.
i’m pretty sure my logic is correct.
Must have clicked on the wrong link.
After the contest gets over, you can ask in the discuss…till then focus on next questions instead of wasting time here.
Not able to submit for so long. Make this contest unrated. Even the submission queue is too long!
I guess this does not happens in cook off because in cook off there is penalty for incorrect solutions where as in lunch time, there isn’t so, people tend to submit more and more solutions.
There is problem in FFL it, accepts for long long but not for int whereas constraint are not so.
Why are there so tough time limit constraints for question TRIQRY. There can be approaches using c++ inbuilt ordered_set but due to strict time limit those solutions can only pass partially. I request the problem setters to keep N around 100000 when they are expecting a O(NlogN) solution especially when there may be segment tree in approach as there is a set of problems which can be solved with segment tree and set both!
It is because when you are using int and then using INT_MAX for min value and suppose you don’t get any value for defender/forward then you will add INT_MAX + any value which overflows in int.
My solution using g++ pbds did not pass for 100 marks in first attempt and got TLE. But when I submitted 100% same code again, it passed with 1.91s for 100 marks.
There must be something wrong with the judge. This should be reported @s_h_shahin @sajib_readd @taran_1407
This is indeed weird. We are looking into it. Thanks for reporting!
Reminder: Starts in 10 minutes!