Schedule Management || Codeforces Educational Round 131 Div2 Problem C
ฝัง
- เผยแพร่เมื่อ 19 ก.ย. 2024
- 🔥𝐏𝐚𝐲 𝐀𝐟𝐭𝐞𝐫 𝐏𝐥𝐚𝐜𝐞𝐦𝐞𝐧𝐭
Newton School's 𝐅𝐮𝐥𝐥 𝐒𝐭𝐚𝐜𝐤 𝐂𝐨𝐮𝐫𝐬𝐞 𝟐𝟎𝟐𝟐 - bit.ly/FullSta...
Newton School Official WhatsApp Support Number: +91 6362 331 200
-----------------------------------------------------------------------------------
📌𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦:
📌𝐋𝐢𝐧𝐤𝐞𝐝𝐈𝐧: / newto. .
📌𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦: / newtonschoo. .
📌𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: / newtonschool.co
------- 𝐀𝐛𝐨𝐮𝐭 𝐍𝐞𝐰𝐭𝐨𝐧 𝐒𝐜𝐡𝐨𝐨𝐥 -------
🔵NEWTON SCHOOL is an online Edtech company providing the highest-rated FULL STACK DEVELOPMENT PROGRAM for professionals, graduates, and women.
🌕NEWTON SCHOOL is your gateway to a high-paying tech career in 6 months with Zero fees till placement, transforming you into a rockstar full-stack developer earning 5-40 Lakh per annum salary. Newton School’s students are already working in more than 150+ top companies of India including Zomato, Unacademy, Deloitte, Nutanix, etc.
🔵To watch more videos on programming, Data Structures, Android Development, Data Science, C++, Java, React, subscribe to our channel.
- - - - - - - - - - - - - -
If you're reading this far down, hello, you look nice today :)
Guess The String || Codeforces Educational Round 130 Div2 Problem D
#NewtonSchool #NS #Fullstack #FSD #Datascience #MS #Postgrad #webdeveloper #programming #programmer #programmers #developer #coder #programmingmemes #coders #coding #frontenddeveloper #backenddeveloper #html #softwaredeveloper #hacking #python
Thank you very much, I watched more than 3 videos explaining this problem, and you are the only one who really made me understand it.
Glad it helped
Yeah, same for me as well
Nice Explanation . I though of binary search but was not able to think about isPossible function .
That's a nice improvement. Even if you were able to think about it.
Your explanation and intution is LIT! I wish one day i could tackle questions as you do !!
Thanks
thanx for this beautiful explanation , i though of binary search but i wasn't abel to form the logic of help and left this is great appraoch ,thanx for this solution
Thanks Sidharth
I really want to thank you your explaining way is very good and it made me understand it very well
Thanks :)
i learn a lot from this question and from your explaination
Thanks Asad
greatest explanation of this problem
glad it helped
thank you so much.. i understand the solution very well by watching your video
Happy to help
Good explanation 👏
Only the last part where u tried to explain why it's optimal to use x hours to complete ur pending tasks first and then help someone else was little bit confusing (though i have understood it) . Else everything was good .
Thanks Rudra
excellent ! can you guide how to solve it if one task can be selected by multiple workers ? thanks
Thanks!!
No problem!
map gets default value of 0 if not initialized so no need to manually do a rep and setting it to zero
I know partho, but its still good to assign values to 0, as I have sometimes faced TLE due to this.
thanks
please explain how you choosed higher and lower value
as atleast one task needs to be completed, minimum time i.e. low will be 1, in worst case you have only one worker who does all m tasks, so maximum time i.e. high = 2*m. But in reality you will never use 2*m time.
Make editorial for d
will upload in the morning
thx bro : )
Glad it helped
Unable to solve c even ones ,could u suggest something unable to get the intuition
I think its all about seeing as many type of problems as you can
Try to solve previous Div2C's, that would help I think.
Sir how to tackle such problems by ourselves?
why isnt the op to second tc 1 cause its the minimum time required
can you please write which case you are talking about?
You are requested to share your code always .
That encourages people to copy code. You can find all the submissions in my CF profile epsilon_573
Your views on the problem.
The problem was nice. Greedy solution was tricky to implement I think, so people who thought of binary search did better in terms of speed.
@@competitivecoding-newtonsc9601 please explain the greedy one too i did it with binary but others are doing it with sets infact after watching their code i m not able to get it
if(*it2+2>=*it1)
Still, I can not understand. Sorry... Does anybody help me, please?
Which part?
@@competitivecoding-newtonsc9601 I am not good at binary search. But I already learned binary search. But at 13:44 what is the left & what is the helped? How it actually works? Can you briefly tell about this?
@@almuzahid1 first go and learn binary search then watch the viideo
Hey...Sahil today I m able to solve C...but not regularly 4 of 10 times...any suggestions for me??
I would recommending solving more binary search/ adhoc problems and try to solve C problems of previous Div2 and edu rounds.
plz uploqd D
will upload in the morning.