Codeforces Global Round 15 | Problems A to F Video Editorial

  Рет қаралды 11,858

Utkarsh Gupta

Utkarsh Gupta

Күн бұрын

Пікірлер: 41
@gokulsaireddy8988
@gokulsaireddy8988 3 жыл бұрын
So, basically B is based on Moore voting algorithm for finding better candidate??
@AbhishekKumar-vo9yu
@AbhishekKumar-vo9yu 3 жыл бұрын
It is one of the approach.
@apoorvmehra121
@apoorvmehra121 3 жыл бұрын
I was not able to implement 2nd question 😔
@shivamthapliyal9554
@shivamthapliyal9554 3 жыл бұрын
Legend is back
@emurarryreddy476
@emurarryreddy476 3 жыл бұрын
Wow thank you for these editorials they are creating cp culture....
@vaibhavgupta7429
@vaibhavgupta7429 3 жыл бұрын
wow ternary bitmask, learnt something new today
@venkateshmishra3514
@venkateshmishra3514 3 жыл бұрын
Can someone explain me that implementation of problem D? I mean ternary bitmask part.
@Muhammad_Kabil
@Muhammad_Kabil 3 жыл бұрын
Thanks a lot bro.
@govindtomar6284
@govindtomar6284 3 жыл бұрын
Please make editorials of atcoder contests, you're giving contests over there, so, please make editorials for those contests also.
@sasmitshubham9424
@sasmitshubham9424 3 жыл бұрын
i was able to solve only one, again newbie.
@ritikmehra500
@ritikmehra500 3 жыл бұрын
Same lol
@deepansharya1111
@deepansharya1111 3 жыл бұрын
Did you solve it like he did using the rep() function from STL? If not then will you please paste your code here, I want to see how it can be solved without STL functions
@kushagra4401
@kushagra4401 3 жыл бұрын
@@deepansharya1111 int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int T,i,n; cin>>T; while(T--){ string s,k; cin>>n>>s; k = s; sort(k.begin(),k.end()); int ans=0; for(i=0 ; i
@kushagra4401
@kushagra4401 3 жыл бұрын
@@deepansharya1111 rep is not a stl function ,its just for loop,he just created a macro for for loop so that he have to type less and save time its like this: #define rep(i,a,b) for(int i=a;i
@deepansharya1111
@deepansharya1111 3 жыл бұрын
@@kushagra4401 OMG thank you so much i am able to understand it now :)
@TechieIndia
@TechieIndia 3 жыл бұрын
From where we can learn ternary bitmask as you have used it in D.
@Munnu-hs6rk
@Munnu-hs6rk Жыл бұрын
can we use powerset n*(2^n) algo for finding cycle like if bit is1 go with + and if bit is 0 go with - and if sum comes to be 0 then theres cycle
@hoangnam1870
@hoangnam1870 3 жыл бұрын
Can you explain more in problem D why if there exists a cycle, the answer will be "YES"? I still miss it and have no idea to explain it
@5590priyank
@5590priyank 3 жыл бұрын
thanks for this editorial. Just a small suggestion, lot of us want to jump to editorial as soon as contest ends, so would it be possible to start a live session on yt or twitch so that we don't have to wait for video to be recorded and all? Thanks :)
@utkarshgupta9858
@utkarshgupta9858 3 жыл бұрын
yeah ik, but i had to have dinner also
@b82tushar22
@b82tushar22 3 жыл бұрын
@@utkarshgupta9858 So, Honest Answer :)
@ani68
@ani68 3 жыл бұрын
How was you experience at Uber internship......😃😃😃😃😃
@abhishekdutt3601
@abhishekdutt3601 3 жыл бұрын
I ueed a hash map to store the sum of scores and sort them for question B. What was your approach?
@SuperTushar14
@SuperTushar14 3 жыл бұрын
What was scores? Do you mean rank?
@victorreznov6678
@victorreznov6678 3 жыл бұрын
How tho? What if there are two players whose ranking are- 2 2 2 1 9 2 1 1 1 7 8 9 In this test case I think your logic will fail
@suryatype
@suryatype 3 жыл бұрын
I got the same idea for D que but i dont know how to implement graphs :(
@gaurang_bansal
@gaurang_bansal 3 жыл бұрын
What all apps you are having on task bar , specially last 2 ones?
@prajwalingole1584
@prajwalingole1584 3 жыл бұрын
PPO mila? 😳
@pritamkumar5510
@pritamkumar5510 2 жыл бұрын
bhaiya, I have tried to join your discord channel, but not able to join, it shows failled link, can you please reshare the link if possible, thanks
@ganapatibiswas5858
@ganapatibiswas5858 2 жыл бұрын
Problem B was good.
@itz_me_imraan02
@itz_me_imraan02 3 жыл бұрын
Why don't you start some DSA courses too in this channel..it will be helpful for all.. 💜💓
@kushagragarg779
@kushagragarg779 3 жыл бұрын
bhaiya, I think there is some buzz going on while you speak. Thanks for the video editorial btw.
@itsmyshow7611
@itsmyshow7611 3 жыл бұрын
C saved me from -100
@Fictional_universe
@Fictional_universe 3 жыл бұрын
U use lipstick
@adi_7861
@adi_7861 3 жыл бұрын
G 11th testcase 😥
@amandeeprewani1041
@amandeeprewani1041 3 жыл бұрын
orz is back
Codeforces Round 735 Solutions
56:01
Utkarsh Gupta
Рет қаралды 14 М.
Codenation 29th July 2021 Hiring Test Solutions (Hard)
39:45
Utkarsh Gupta
Рет қаралды 46 М.
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 20 МЛН
I Turned My Mom into Anxiety Mode! 😆💥 #prank #familyfun #funny
00:32
Каха и лужа  #непосредственнокаха
00:15
Maths for DSA/CP : All You Need To Know
1:07:19
Utkarsh Gupta
Рет қаралды 141 М.
Codeforces Round 724 | Problems A to D Screencast with Commentary
59:12
Codeforces Edu Round 111 | Problems A to E Solutions
1:06:00
Utkarsh Gupta
Рет қаралды 12 М.
C++ STL: The ONLY Video You Need | Compulsory for DSA/CP
57:44
Utkarsh Gupta
Рет қаралды 182 М.
Graphs for CP: No Pre-requisites! Simplified Explanation
38:01
Utkarsh Gupta
Рет қаралды 56 М.
Codeforces Round 753 Div3 Quick Solutions (A to H)
30:04
Utkarsh Gupta
Рет қаралды 14 М.
My Competitive Programming Journey (Codeforces Grandmaster)
19:22
Utkarsh Gupta
Рет қаралды 201 М.
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 20 МЛН