Codeforces Round 966 (Div 3) - Programming Contest Solution Discussion

  Рет қаралды 13,137

Competitive Programming with Shayan

Competitive Programming with Shayan

Күн бұрын

Пікірлер: 28
@Jazzimus
@Jazzimus 2 ай бұрын
shayan, i cant thank you enough for making these post contest dicussion videos
@sudhanva422
@sudhanva422 2 ай бұрын
The explaination to every problem was up to the point , no time waste .I loved it
@alexandrisaenkov175
@alexandrisaenkov175 2 ай бұрын
Thank you so much. I'm really glad that I discovered your channel:))
@priyanshkumar17
@priyanshkumar17 2 ай бұрын
I wasted a lot of time on C because I didn't notice the line that sum of lengths of ALL strings ≤ 2 * 10^5
@shreyanshgangwar7797
@shreyanshgangwar7797 2 ай бұрын
​​@Competitive Programming with Shayan can you make a detailed video about 2000+ rating questions as to how to approach those not directly the solution to develop intution take differnt topics.
@Abhay14
@Abhay14 2 ай бұрын
C problem explanation was great
@ahmadbodayr7203
@ahmadbodayr7203 2 ай бұрын
great thank you so much man. Read about islam shayan.❤
@themrunknown850
@themrunknown850 2 ай бұрын
This Div 3 round C is considerably harder than the previous one. D is pretty straightforward though. Thanks for your explanation!
@adityaghosh6170
@adityaghosh6170 2 ай бұрын
Hey dude I don't know why but I am really getting stuck in solving greedy, constructive algorithm questions. Could you please share some guidance as to what I should do in order to improve. I literally go blind as soon as I see the question. If I read like 1 or 2 line from editorial then I am able to pick up the idea otherwise I can't. Any suggestions?
@Isaadqurashi
@Isaadqurashi 2 ай бұрын
practice practice practice... there's no other way
@adityaghosh6170
@adityaghosh6170 2 ай бұрын
@@Isaadqurashi I am dude....I really am... Just a bit disappointed with my performance
@Isaadqurashi
@Isaadqurashi 2 ай бұрын
​@@adityaghosh6170 it takes time... everything takes times to grow my brother .. im not pro but i started from compilation error now at least i can solve 2-3 problems in each contest..
@UbiycaCrabov
@UbiycaCrabov 2 ай бұрын
when i stuck on first problems i think hmmm what first thing that tourist would come up with. And usually all bad ideas go away.
@adityaghosh6170
@adityaghosh6170 2 ай бұрын
@@Isaadqurashi well that's great. If you can solve 3 problems in div 2 that's a lot of progress
@fantastic-b2m
@fantastic-b2m 2 ай бұрын
i got alot of TLEs on this contest
@ugaldetellezaaron5498
@ugaldetellezaaron5498 2 ай бұрын
i have a tle in c using unordered maps, anyone knows why?
@anasibrahem5652
@anasibrahem5652 2 ай бұрын
+1
@nguyenphuthanhat4530
@nguyenphuthanhat4530 2 ай бұрын
problem b right ? Me too i used another vector to mark
@georgeskhater487
@georgeskhater487 2 ай бұрын
Don't use unordered maps as they're easily hackable (good avg case terrible worst case) If u don't care about the technical details u can skip the next part : Unordered maps are hashtables which means u need a hash function. Most hash functions usually use prime factorization, in cpp the prime numbers chosen are directly related to ur code, which means that the outputs are predictable. Therefore, it is easy to build a test case in which all of ur nodes will be in the same bucket of ur table - > linear time instead of constant time. Quick fix: use map
@supriya_codes
@supriya_codes 2 ай бұрын
@@georgeskhater487 can you explain with an eg!
@ashhar7284
@ashhar7284 2 ай бұрын
unordered map are implemented using hash tables while an ordered map is done using BST. So traversal time on latter one is O(logn) while that of previous is O(n). Therefore unordered map gave tle.
@akshattheintrovert3153
@akshattheintrovert3153 2 ай бұрын
In this contest, i got so many TLE. Since there was not any penalty on points on any WA, or else...
@munib2023
@munib2023 2 ай бұрын
First work in ur English
@iPunishCode
@iPunishCode 2 ай бұрын
u too
@Jazzimus
@Jazzimus 2 ай бұрын
his english is perfectly comprehensible
Go Has Exceptions??
16:58
ThePrimeTime
Рет қаралды 62 М.
Codeforces Round 981 (Div 3) - Programming Contest Solution Discussion
1:51:55
Competitive Programming with Shayan
Рет қаралды 7 М.
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 84 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 75 МЛН
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 25 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 27 МЛН
Codeforces Round 969 (Div 1 + Div 2) - Programming Contest Solution Discussion
2:10:19
Competitive Programming with Shayan
Рет қаралды 10 М.
50+ LPA Roadmap | ezSnippet | Neeraj Walia
17:02
Neeraj Walia
Рет қаралды 1,3 МЛН
Codeforces Round 971 (Div 4) - Programming Contest Solution Discussion
2:00:11
Competitive Programming with Shayan
Рет қаралды 9 М.
How to Improve Blender's UI
20:27
Blender
Рет қаралды 9 М.
Mike Mirzayanov is STRONG! Crushing everyone in Push Up Challenge ICPC 2024
11:48
Competitive Programming with Shayan
Рет қаралды 4,9 М.
Codeforces EPIC Round (Div 1 + 2) - Programming Contest Solution Discussion
1:39:48
Competitive Programming with Shayan
Рет қаралды 7 М.
Graph Algorithms Problem Solving - from Starter to Expert
2:03:28
Competitive Programming with Shayan
Рет қаралды 4,2 М.
Codeforces Round 976 (Div 2) - Programming Contest Solution Discussion
52:03
Competitive Programming with Shayan
Рет қаралды 7 М.
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 84 МЛН