Mark and His Unfinished Essay || Codeforces Round 807 Div2 Problem C

  Рет қаралды 3,503

Competitive Coding - Newton School

Competitive Coding - Newton School

Күн бұрын

🔥𝐏𝐚𝐲 𝐀𝐟𝐭𝐞𝐫 𝐏𝐥𝐚𝐜𝐞𝐦𝐞𝐧𝐭
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 :)
Mark and His Unfinished Essay || Codeforces Round 807 Div2 Problem C
#NewtonSchool #NS #Fullstack #FSD #Datascience #MS #Postgrad #webdeveloper #programming #programmer #programmers #developer #coder #programmingmemes #coders #coding #frontenddeveloper #backenddeveloper #html #softwaredeveloper #hacking #python

Пікірлер: 47
@SahilNarwal-e7v
@SahilNarwal-e7v 4 күн бұрын
great explanation !! :)
@AkashKumar-lr6hc
@AkashKumar-lr6hc 2 жыл бұрын
ur explanations are top notch
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
Thanks Akash
@SaurabhGupta-qx8hs
@SaurabhGupta-qx8hs 2 жыл бұрын
Top class effort man!😇
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
Thanks Saurabh
@imzerofnlol
@imzerofnlol 10 ай бұрын
is it necessary to calculate the gap every single time, wouldn't it be constant always ? could you please give a sample where I could be wrong
@yourbestie4138
@yourbestie4138 2 жыл бұрын
really good explanation
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
Thanks :)
@mohamedtamer9041
@mohamedtamer9041 2 жыл бұрын
amazing.thanks alot❤️
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
Thanks Mohamed
@utsavaggrawal2697
@utsavaggrawal2697 2 жыл бұрын
thanks sir
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
Most welcome
@nimeshsingh6229
@nimeshsingh6229 2 жыл бұрын
Nice explanation
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
Thanks
@rishabh507
@rishabh507 2 жыл бұрын
Thanks for the editorial
@rishabh507
@rishabh507 2 жыл бұрын
Flunked today’s contest, 2 WA each on A and B , then 10 WA and no solve on C 🙂
@rishabh507
@rishabh507 2 жыл бұрын
Will upsolve C and D
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
:)
@jeevanalexen
@jeevanalexen 2 жыл бұрын
what will be the rating of this problem?
@whynesspower
@whynesspower 2 жыл бұрын
1300
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
1400ish
@ДарьяМинакова-м3т
@ДарьяМинакова-м3т 2 жыл бұрын
Thanks a lot
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
You're welcome:)
@d_d2813
@d_d2813 2 жыл бұрын
Why we cannot really append the string and we can easily find the character ??
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
Size will become very large, after just 30 operation size will be around 10^9 which is too much.
@kartikgarg9379
@kartikgarg9379 2 жыл бұрын
Thank you bhaiya
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
No worries Kartik
@ahmednafis
@ahmednafis 2 жыл бұрын
hi, whats the name of the app , u use to draw for the explanations?
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
Windows one note
@manaskumarpanda3343
@manaskumarpanda3343 2 жыл бұрын
how to approach this type of problem bro ?
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
See that you can iterate over number of operations but it is impossible to iterate over length of string.
@asthagupta3813
@asthagupta3813 2 жыл бұрын
What is the rating range of div2 Cs??
@doodleman5421
@doodleman5421 2 жыл бұрын
i think it is between 1400 - 1700
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
1400ish
@shambhavamchoudhary67
@shambhavamchoudhary67 2 жыл бұрын
sir plz upload code too
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
You can get code from my profile epsilon_573.
@ayushanandtripathi352
@ayushanandtripathi352 2 жыл бұрын
perfect
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
Thanks
@UEIPRAYASHSATPATHY
@UEIPRAYASHSATPATHY 2 жыл бұрын
for this same type of code i m getting tle in test case 4 #include using namespace std; long long int search(vectortr,long long int idx,int c){ short int s=1,e=c,m; while(sidx){ e=m-1; } else{s=m+1;} } if(tr[m]t; vectorl(41),r(41),tr(41); while(t>0){ int n,c,q; cin>>n>>c>>q; vectora(n); for(int i=0;i>a[i]; } tr[0]=n-1; int i=1; while(i>l[i]>>r[i]; l[i]--;r[i]--; tr[i]=tr[i-1]+1+r[i]-l[i]; i++; } while(q>0){ long long int idx; cin>>idx; idx--; if(idx
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
Define endl ' ' and use fast input output
@Negijicoder
@Negijicoder 9 ай бұрын
2.5 hour lga diye is ques pr fir bhi ni hora..
@deepakjoshi4318
@deepakjoshi4318 2 жыл бұрын
is question ki rating kya hogi
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
1400ish
@pratickbhowmick6409
@pratickbhowmick6409 2 жыл бұрын
Didn't understand the explanation.
@competitivecoding-newtonsc9601
@competitivecoding-newtonsc9601 2 жыл бұрын
Which part?
@pratickbhowmick6409
@pratickbhowmick6409 2 жыл бұрын
@@competitivecoding-newtonsc9601 8:20 To reiterate your explanation before this part, left is the length of the string before carrying out operation c3, and right is the length of the string after c3. Given, index x is somewhere between left and right, you have taken gap = x-left. And l3, r3 are the indices of the substring copied in operation c3. What do you mean by x = l3 + gap?
@Manishkumar-mw2zw
@Manishkumar-mw2zw 8 ай бұрын
Nice explanation
How to Stop Procrastinating and Finally Take Action
16:31
Ali Abdaal
Рет қаралды 132 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
China announces retaliatory tariffs on US goods
5:29
Al Jazeera English
Рет қаралды 227 М.
White House confirms Elon Musk will serve as 'special employee'
4:42
CNBC Television
Рет қаралды 45 М.