Codeforces Round 714 Div2 || Fast Solving A, B, C but not getting D || FaceCam + Commentary

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

Priyansh Agarwal

Priyansh Agarwal

Күн бұрын

So, here is the screencast for today's Div2 round on codeforces. I had solved A, B, C relatively fast but then could not get D. Tried some segment tree + lazy propagation but didn't work out.
Discord server link: / discord

Пікірлер: 43
@farazanwar4624
@farazanwar4624 3 жыл бұрын
Doesn't matter u will be cm or not. we are inspired by your constantly trying to be better attitude. Priyansh orzz
@048_rahulkumar5
@048_rahulkumar5 3 жыл бұрын
Was only able to solve 1 Question 😞 Next time I will try harder.
@saurabhsingh6325
@saurabhsingh6325 3 жыл бұрын
When he said "Not getting D" I felt that
@ParitoshPotukuchi
@ParitoshPotukuchi 3 жыл бұрын
Priyansh. For C I thought of building an m X 9 table which has the value for each digit from 1 to 9 for all values of m. Then for each digit refer to the table and add the values.
@PriyanshAgarwal
@PriyanshAgarwal 3 жыл бұрын
I did the same
@paawansingal788
@paawansingal788 3 жыл бұрын
finally its 5k🥳, kuch toh special chahiye bro😂
@pradeepbisht3397
@pradeepbisht3397 3 жыл бұрын
bhai tum text cursor aage piche kese krte ho (arrow keys se koe shotcut hai)??
@vineetkumar2899
@vineetkumar2899 3 жыл бұрын
I also wanted to know this thing.
@PriyanshAgarwal
@PriyanshAgarwal 3 жыл бұрын
Arrow keys
@Aman-fx8pk
@Aman-fx8pk Жыл бұрын
at 35:35 anyone explain what is the state of this dp like dp[ j ][ i ] , what this is saying ?? according to me this should be dp[jth char][at ith step] is equal to dp[j-1th char][at (i-1)th step] , but it is giving me wa.
@learningfoundation6601
@learningfoundation6601 Жыл бұрын
the only thing i got after seeing these type of videos that : it is not beneficiary to any competitive programmer as you even not tells how would you came to think that the main thing in cp you have to put of diff methods that came in your mind as soon as you think just skills show off. its hard but please think over it
@noobie6784
@noobie6784 3 жыл бұрын
u got a new fan!!!!
@piyushgaur6975
@piyushgaur6975 3 жыл бұрын
In problem C, line 118 of your solution can you please Elaborate what are those predefined function mod_add() ???
@PriyanshAgarwal
@PriyanshAgarwal 3 жыл бұрын
mod_add() is not a predefined function. It is a function that I have created in my template. It just adds 2 numbers and returns the answer modulo some number.
@bishakhdutta8427
@bishakhdutta8427 Жыл бұрын
@@PriyanshAgarwal can you share your template?
@Saitama-kf4oy
@Saitama-kf4oy 3 жыл бұрын
Will there be post discussion? B samajh nhi aya.
@PriyanshAgarwal
@PriyanshAgarwal 3 жыл бұрын
Yes. Most probably
@pokegamerspoint6577
@pokegamerspoint6577 3 жыл бұрын
Now lets aim for 6k bro
@ng3w462
@ng3w462 3 жыл бұрын
Hey bro could you give me a quick tip to solve fast... I figure out the logic quickly but take a lot of time to code...pls answer thanks 🙏😊 And also great content...you inspire me a lot...🙏😊
@yt_shubham_bgp
@yt_shubham_bgp 3 жыл бұрын
It comes with practice
@PriyanshAgarwal
@PriyanshAgarwal 3 жыл бұрын
Try to solve many 1200-1600 problems and you will start developing speed.
@joydeepdas4105
@joydeepdas4105 3 жыл бұрын
can you please explain the recurrence of c and its logic
@nikhilgautam2857
@nikhilgautam2857 3 жыл бұрын
how do you auto space/indent lines what shortcut do you use ?
@PriyanshAgarwal
@PriyanshAgarwal 3 жыл бұрын
I use a plugin SublimeAStyleFormatter I guess and it auto indents the code when I save/build it.
@ui.ashish
@ui.ashish 3 жыл бұрын
Can you please tell us how to setup subline text please make a video
@PriyanshAgarwal
@PriyanshAgarwal 3 жыл бұрын
Soon.
@anexocelisia9377
@anexocelisia9377 2 жыл бұрын
B was the game changer
@karthick...
@karthick... Жыл бұрын
I can't even solve div3 problems 😢😭😭
@saurabhnikam
@saurabhnikam 3 жыл бұрын
Hello priyansh,many beginners who stuck in problem B,C div 2,3. can u make video about prerequisite tools methods (based on ur experience so far) e.g. prefix sum,1-d dp,brute force, tough implementation approach like.... to tackle them since u where so much comfortable 🙌🙌 in this difficulty level.plz think on it it will be so helpful for us
@PriyanshAgarwal
@PriyanshAgarwal 3 жыл бұрын
Sure, I will make a video on this thing as soon as I get time. Thanks for the suggestion
@saurabhnikam
@saurabhnikam 3 жыл бұрын
@@PriyanshAgarwal thanks so much... priyansh hatt off to ur efforts!
@RohitSingh-fh5mh
@RohitSingh-fh5mh 3 жыл бұрын
Please make a detailed video on all your sublime text setting for cp like driver code and all the user defined function
@piyushgaur6975
@piyushgaur6975 3 жыл бұрын
Yes priyansh bhaiya please make that
@user-xm8en3ey5j
@user-xm8en3ey5j 8 ай бұрын
What's is the IDE that your are using??
@tmahad5447
@tmahad5447 4 ай бұрын
sublime text
@codeRush
@codeRush 3 жыл бұрын
can u tell the reason for TLE in ques 3?
@PriyanshAgarwal
@PriyanshAgarwal 3 жыл бұрын
You can watch the post contest discussion video for the same contest. I have covered this too in that.
@adityaagarwal1650
@adityaagarwal1650 3 жыл бұрын
Please do upsolving 🙏 and share here
@prathamchitransh5338
@prathamchitransh5338 3 жыл бұрын
How do u type so fast🙄😵
@PriyanshAgarwal
@PriyanshAgarwal 3 жыл бұрын
Touch Typing.
@pranavchaturvedi2452
@pranavchaturvedi2452 3 жыл бұрын
#include using namespace std; int main() { int t; cin >> t; while(t--) { long long int n,m; cin >> n >> m; string s = to_string(n),p; for(int i=0;i
CodeForces Round 714 (Divide by Zero) A-E Solutions and Screencast
2:18:43
Cute kitty gadgets 💛
00:24
TheSoul Music Family
Рет қаралды 22 МЛН
Sigma Girl Pizza #funny #memes #comedy
00:14
CRAZY GREAPA
Рет қаралды 3 МЛН
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 45 МЛН
Winning Codeforces Round #628 (Div. 2) + Facecam
1:08:33
William Lin
Рет қаралды 390 М.
Codeforces Round 724 || A, B, C, D || Commentary + FaceCam || Saving CM
1:21:02
Cursor Is Beating VS Code (...by forking it)
18:00
Theo - t3․gg
Рет қаралды 90 М.
Cute kitty gadgets 💛
00:24
TheSoul Music Family
Рет қаралды 22 МЛН