can you suggest a learning source to make videos like this?
@BoraDemirtas7 күн бұрын
www.manim.community/ is good to get started
@danieldiaz8558 күн бұрын
Thank you for the effort, this is really a high quality tutorial!
@freebookstore32428 күн бұрын
is good explanation
@pawn2pawn8 күн бұрын
For problem C1, the answer exists only when the most significant bit of both x and y is a set bit. So instead of running the loop from y = 1, we can run from y = 2 ^ (log2(x)).
@aankie8 күн бұрын
sorry i dont want to hurt, its so difficult for me to grasp your accent
@sazid11838 күн бұрын
Really loved your work, bruh! especially the animation!!!
@ketansuman57329 күн бұрын
appreciate your hardwork brother
@SaiDharahasReddyIndrakanti9 күн бұрын
in the second question are we solving it by looking only for distinct character substring ? is it because if the substring length is made odd with unique charcaters we can have even no of distinct substrings
@BoraDemirtas9 күн бұрын
Yeah if we have 3 unique characters next to each other, f(p) will will be even. Take the string abc the substrings will be "a", "b", "c", "ab", "bc", "abc". That is 6 in total. The other case is when two same characters are next to each other. Take the string "aa" the two substrings are "a" and "aa".
@nullchilly9 күн бұрын
Borz
@BoraDemirtas9 күн бұрын
WOW!!!
@abhinavennala96139 күн бұрын
Thanks for the editorial
@sababmuhammad48429 күн бұрын
excellent video & explanation
@andreaskonstantinou0089 күн бұрын
Wow. This is the best quality video discussing cf solutions I have ever seen.
@emes39617 күн бұрын
I was not be able to understant the solves. But your video helped me, Thanks :)
@RafieAdrianАй бұрын
Goated bro 🔥🔥 (best editorial i’ve ever seen)
@kartiknagrale1479Ай бұрын
wow ++respect
@hardikpatel352Ай бұрын
good efforts, thanks a lot
@singleslit2024ICPCgrindАй бұрын
If you keep doing this, i can swear on god within. no time you would be the most popular figure in the CP industry.
@subhashisbhanjdeo1320Ай бұрын
Problem A--- but the max array C=[7,7,7] and min B=[4,4,4] and after calculation 2+2+2=6 ??
@subhashisbhanjdeo1320Ай бұрын
pls some explain me @BoraDemirtas?
@BoraDemirtasАй бұрын
@@subhashisbhanjdeo1320 for what array would max array C=[7,7,7] and min B=[4,4,4]? That cannot happen because c[0] and b[0] have to be equal.
@clashersamir1625Ай бұрын
great work, keep it up
@WebSleekАй бұрын
love ur content pls be regular and explain little bit slowly😅
@AnkitMishra-vv8zyАй бұрын
Answer of follow up question : Summation 1 to n (3/7)power (n-1) * ( 4/7) Please Let me Know If i am Correct
@thecheem3764Ай бұрын
Everything about this video is amazing! However, can you perhaps invest more in the mic? For slow learners like me, channels like this really help, once again thanks a lot!
@BeingamanforeverАй бұрын
Awesome editorial
@lukevideckis2260Ай бұрын
thanks
@BoraDemirtasАй бұрын
@chinmay.sharmaАй бұрын
These animations are really cool! Great Work
@BoraDemirtasАй бұрын
Thx sir
@harshavardan9054Ай бұрын
Is it possible to make these editorials for next contests also
I have been a video editorialist for some non-CF contests, and I can without a doubt say that the sheer effort put into this is beyond extraordinary. Thank you!
@BoraDemirtasАй бұрын
thanks sir
@srijansinha7177Ай бұрын
Great animations, man! They really helped me visualize. Thanks!
@BoraDemirtasАй бұрын
Thanks for the kind words sir
@aankieАй бұрын
Why are you that fast making tutorial?😍
@BoraDemirtasАй бұрын
I've spent almost all of my free time for the past 5 days doing this and it came to like 1.5k lines of manim.
@armu8977Ай бұрын
Can you send those combinatorics links
@BoraDemirtasАй бұрын
it is in the description but here codeforces.com/blog/entry/78873
@kimjong-un4521Ай бұрын
Nice editorials
@BoraDemirtasАй бұрын
@daveshub3 ай бұрын
Great video. But it did sound like you were feeling sleepy during recording. Nonetheless I really look forward to another one from you. PS: I subscribed.
@subhashsuryawanshi88205 ай бұрын
How did you come up with the diff = y - x%y;
@BoraDemirtas5 ай бұрын
we will do the division operation when x is divisible by y we want to figure out how many times we will increment x before it is divisible by y currently the remainder is = x%y if we add diff + x%y to get our new remainder after incrementing x by diff times , we get: y - x%y + x%y = y and trivially y is divisible by y
@LakshyaIIITD5 ай бұрын
For this problem I think greedy approach Is more intuitive than Dynamic Programming Approach. Well Nice Explanation
@akashverma74295 ай бұрын
Cool editorial, wanna see these videos becoming regular
@mzrubgwofcnghsomcvf5 ай бұрын
orz, thank you for your effort. how much time did it took you. Does the process of making this kind of editorial get faster after each iteration?
@BoraDemirtas5 ай бұрын
1. this one took 12ish hours 2. last one took 25ish hours but i haven't made enough to conclusively say anything
@kshitiz63765 ай бұрын
Thanks a lot for this.
@ShakhrukhRakhimov5 ай бұрын
bro pls your videos are wonderfool so can you do editorial in each contest. it will be very good for you and for you subscribers : ) Who is agree like pls ; )
@imafraidjumitebeeinnagang38865 ай бұрын
This is beautiful
@BoraDemirtas5 ай бұрын
thx
@victimizier5 ай бұрын
i think we need to put if (prefix[x] - prefix[i] <= r && prefix[x] - prefix[i] >= l) another and condition in if to ge t correct ans.
@BoraDemirtas5 ай бұрын
hi, we don't need the prefix[x] - prefix[i] >= l part because the lower_bound function already makes sure this is true
@victimizier5 ай бұрын
@@BoraDemirtas ok thanks man
@victimizier5 ай бұрын
cool explanation bro
@itzz_ayush82305 ай бұрын
thankyou
@amusefanatic81645 ай бұрын
nice explanations in very short time Thanks
@Avighna5 ай бұрын
This is *really* cool, Manim editorials are like the highest quality haha.
@Idk-os4ix5 ай бұрын
int n,l,r; cin>>n>>l>>r; vector<int>a(n); for(auto &ele:a) cin>>ele; long long sum = 0; int ans = 0; for(int i=0;i<n;i++){ sum += a[i]; if(sum >= l && sum <= r){ ans++; sum = 0; } else if(sum > r){ if(a[i]>= l && a[i]<=r){ ans++; } sum = 0; } } cout<<ans<<endl; could u explain why this code is failing? i tried debugging but it is not working out
@shantanuagarwal10295 ай бұрын
Hey ! My logic was also the same and my code was also failing :( ! Have u got the reason that why it is failing?
@zzz27535 ай бұрын
5:43 could you please help, didn't understand what we did with the lower bound function here
@BoraDemirtas5 ай бұрын
it returns the first index that an array is greater than or equal to a specified value