B. JoJo's Incredible Adventures | Codeforces Round 866 (Div. 2) | Codeforces | DCC NIT-A

  Рет қаралды 1,718

DCC NITA

DCC NITA

Күн бұрын

Пікірлер: 10
@rlm3227
@rlm3227 Ай бұрын
This is what I was looking for!
@DCCNITA
@DCCNITA Ай бұрын
♥️
@shubhamkumar3198
@shubhamkumar3198 Жыл бұрын
Wonderful Approach Thank you so much
@DCCNITA
@DCCNITA Жыл бұрын
🙌❤️
@kabboghosh1853
@kabboghosh1853 Жыл бұрын
great solution
@DCCNITA
@DCCNITA Жыл бұрын
Thanks ❤️🙌
@var4yn
@var4yn Жыл бұрын
Damn. I had this idea, but I thought it might not work and decided to do dynamic programming that didn't pass the memory limit 😢😢
@DCCNITA
@DCCNITA Жыл бұрын
Sad🥲
@ghoul_786
@ghoul_786 Жыл бұрын
Why we are dointg this ??? int e = cnt; mx = max(mx, s + e);
@DCCNITA
@DCCNITA Жыл бұрын
Bcz, S is count of Ones in the start of the string and E is count of Ones in the end of the string. So if you make some right shift operations then you will get that there will be a possibility in which these S+E ones will be consecutive.
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 33 МЛН
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 11 МЛН
SISTER EXPOSED MY MAGIC @Whoispelagheya
00:45
MasomkaMagic
Рет қаралды 10 МЛН
Codeforces Round 885 Div 2 | A B C | Video Editorial C++
39:07
cpwithcpp
Рет қаралды 3,6 М.
4 Habits That Will Make You a Better Programmer
6:26
CODE EASY
Рет қаралды 1,3 М.
Codeforces Round 793 (Div-2) | Solutions | A-B-C-D
42:25
Naman Bansal
Рет қаралды 5 М.
Codeforces Round 847 (Div-3) | Solutions | A-B-C-D-E
1:06:07
Naman Bansal
Рет қаралды 7 М.
I Solved 100 LeetCode Problems
13:11
Green Code
Рет қаралды 128 М.
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 33 МЛН