Thanks for your efforts and contribution to community 🔥🙌
@shailrajmishra76173 жыл бұрын
Hey i just wanted to ask that did u take the CP course of coding ninjas , one of my cse friend is asking that is why
@user-it6fi8in3r3 жыл бұрын
Well deserved
@muditkothari22113 жыл бұрын
congrats brother keep going , this is just the start .
@giraffe43753 жыл бұрын
Really appreciate that you are uploading the screencast of the contest even after the contest went bad for you
@FkkThisShit3 жыл бұрын
True, respect brother 🔥🔥
@SameerKumar-xy8ky3 жыл бұрын
For the first problem We can print numbers from 2 to n+1
@dipuprasad91963 жыл бұрын
You are one of the most geniune competitive programmers and down to earth
@5590priyank3 жыл бұрын
for A, we can print continuous numbers also from 2 , since only a[i] and a[i-1] should be non divisible not all pair
@kxb60983 жыл бұрын
so this is basically a "guess the solution game". the problem setters try to put some sneaky problems which require some tricky observation and the people who are familiar with those kinds of problems or ideas solve it quickly, while others can't proceed anywhere
@mohitjaiswal51133 жыл бұрын
I think if B was the first problem , a lot of people would have just abandoned the contest because it was a really annoying problem. But the setters were sneaky , they intentionally gave a super easy problem with less points to lure in people and now one is screwed if stuck on edge cases on B. XDD
@mrinmoybanik55983 жыл бұрын
there were just 3 cases in B, and in the 1st problm we don't even need to print the primes just the first n natural no. from 2 will do.
@trevorPhillips2843 жыл бұрын
So i wasn't the only one who was stuck at B
@mohitjaiswal51133 жыл бұрын
Lol I was successful in solving 3 , but I just felt like lots of people got screwed at B . Gave the CC Starters right now , lol one of my worst performance ever . B and C are getting WA and there is my fucking neighbor's marriage and he's playing loud music . Today was a day of mixed feelings
@Sachchin-73 жыл бұрын
@@mrinmoybanik5598 yes i did the same
@lets_see_7773 жыл бұрын
@@mrinmoybanik5598 i printed the perfect squares after 3 first then realized natural numbers would be fine too.
@codingcouch3 жыл бұрын
Always, nice to see the thought process behind all the coding.
@burningdragon78803 жыл бұрын
Just for the information of the viewers, the approach for the last question ( C ) is wrong , and so sadly priyansh bhaiya is getting a wrong answer in the mains test. DW bhaiya, sab logo ka koi na koi contest kharab jata hai... We are still with you, and believe in you 💪💪
@manankabra38103 жыл бұрын
Long challenge has a similar question to B in this contest!
@trex96893 жыл бұрын
In C, we can apply the simple logic that if any person can beat an existing winner, then that person can also be the winner. For this, we first store the pairs (ai,bi) in a vector and reverse sort it. Now the first element of the vector will be a winner always( as it has highest value of ai). Now we iterate on the rest of the indices. If suppose we are at index i, and if for this index v[i].second>v[0].second then not only index i will be a winner but all indices from 1 to i-1 will also be winners (greater values of a). Now, since all indices from 1 to i are winners, we update v[0].second with the lowest b values among 0 to i and similarly check for the remaining values
@Sachchin-73 жыл бұрын
I did almost same thing what you did in prob 3. I still cant figure it out ..what's wrong with my code.🙁
@sriram_7983 жыл бұрын
thanks for the video brl , after struggling to solve 2nd question ( i found out some logics like abs(a-b)
@Vikash_Art3 жыл бұрын
B question was really frustrating
@108_adityakumar63 жыл бұрын
I wasn't able to crack C.🥺🥺
@vaibhav.polska3 жыл бұрын
Ugh, I struggled the same way today, was able to solve A with 1 submission and B with 6. WORST FUCKING CONTEST OF MY LIFE. UGH.
@burningdragon78803 жыл бұрын
please bother, atleast dont curse the contest
@codingwithanonymous8903 жыл бұрын
atleast feel better that someone could feel me :(
@vaibhav.polska3 жыл бұрын
@@burningdragon7880 Sorry Shaktimaan.
@vaibhavdawra89603 жыл бұрын
Please do a profile review session, it's been very long
@dharsan.s79373 жыл бұрын
Bro when u r doing Coding ninja Cp course , how do u manage both learning and general practice in codeforces
@PriyanshAgarwal3 жыл бұрын
I didn't do a lot of CF at that time. Just focussed solely on what was being taught there.
@dharsan.s79373 жыл бұрын
@@PriyanshAgarwal u learnt Dp,graph,segment trees everything before start to do CF properly iam I right?
@nayanbhuyan81563 жыл бұрын
what is your typing speed?
@cipher29853 жыл бұрын
i struggle a lot with problems like B :(
@codingwithanonymous8903 жыл бұрын
me tooo i feel demotivated and feel i dont know nothing :(
@cypher75363 жыл бұрын
Bro it would be very helpful i f you can make a video on your template.
@_SahilShah3 жыл бұрын
Whats that you've written before line 73 in sublime?? sorry idk as I am a newbie
@mihneacazan24803 жыл бұрын
no screencast for today's contest? xD
@alifaizan84582 жыл бұрын
which theme are you using priyansh?
@sriram_7983 жыл бұрын
bro , what is the keyboard you are using , please share name or link
@ytvance13163 жыл бұрын
Bro I am coming to IIIT delhi for a competition on 19 dec. Will you be there??
@ankurkumar84653 жыл бұрын
Sur can u upload a solution video for problem C and also explain why your approach wasn't working... i.e. just taking max value of prefix in map2 and check if the last player can be defeated or not.
@montasirhaq3 жыл бұрын
The colorscheme is beautiful, what's the name?
@PriyanshAgarwal3 жыл бұрын
Brogrammer
@kanakagrawal49303 жыл бұрын
can you provide us your code snippet
@bikashchowdhury73113 жыл бұрын
Please participate in the Leetcode contests also and upload the screencast. It is just a cake walk for you.🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏 It will be really helpful for us.
@akhileshsinghbhadauria33553 жыл бұрын
my previous comment disappeared automatically but leaving that aside,there is something written in the second tab in sublime share whole thought regarding the cgpa thing.
@PriyanshAgarwal3 жыл бұрын
Lol. That is for a session I am taking tomorrow in my college😂
@akhileshsinghbhadauria33553 жыл бұрын
@@PriyanshAgarwal lol spoilers in the comments
@vivekkumarmishra83203 жыл бұрын
In the first question, we can also print numbers from 2 to n+1 It will still satisfy the conditions because any number>=2 is not divisible by it predecessor
@sanjaykhanka42872 жыл бұрын
Here, sometimes you look like kunal khemu from a certain angle when he was young like jiya dhadak song 😅
@kartiksinghkushwah49913 жыл бұрын
A single contest does not define a person. You will still be a grandmaster for me. 😌😌
@kartikeythawait16643 жыл бұрын
I just printed 2 ,3,4......... In first question
@itz_me_imraan023 жыл бұрын
I am from div 3 but participated in today's contest and solved the first problem but i got a -10 in my rating.. Why???
@PriyanshAgarwal3 жыл бұрын
Also, I guess I pressed more backspace than any other key on my keyboard in this contest. 🥲
@shailrajmishra76173 жыл бұрын
Hey i just wanted to ask that did u take the CP course of coding ninjas , one of my cse friend is asking that is why
@piyush3243 жыл бұрын
No worries you'll definitely come back hard in the next contests. Let's go!!
@nikhilmeena85853 жыл бұрын
when lion is stepping back it doesn't mean that he has lose , but actually he is making space to gain momentum , Iam considering your bad performance as stepping backwards to gain momentum to have a higher flight . I just Believe in you blindly 😍!
@PriyanshAgarwal3 жыл бұрын
@@nikhilmeena8585 thanks for this amazing motivation