Codeforces Educational Round 153 | Video Solutions - A to C | by Ankit | TLE Eliminators

  Рет қаралды 4,102

TLE Eliminators - by Priyansh

TLE Eliminators - by Priyansh

Күн бұрын

Пікірлер: 15
@TLE_Eliminators
@TLE_Eliminators Жыл бұрын
Please fill out the feedback form for today's PCD : forms.gle/oWbtPiSYMbxWwwit7
@IT_AvishkarBorkar
@IT_AvishkarBorkar Жыл бұрын
Keep doing this stuff, thanks!
@deveshnandan323
@deveshnandan323 Жыл бұрын
Very Nice Explanation , please try to include problems D &E solutions as well
@Munnu-hs6rk
@Munnu-hs6rk 11 ай бұрын
can someone tell which contests are harder algorithmic wise rather than implementation educational or rated ones?
@vijayanks1714
@vijayanks1714 Жыл бұрын
In prb A what if s = (()) , in this case expected output is NO right bcz it is valid bracket sequ, but according to the explanation s =="()" this only print as NO other valid sequence goes YES eg, ()(), ((())), (())() pls help to clear this
@vijayanks1714
@vijayanks1714 Жыл бұрын
In contest I am implment stack to verify given seq is valid or not if not valid I go with YES and print the valid bracket.... BUT this lead to wrong ans in 2 TC
@akshayraoch
@akshayraoch Жыл бұрын
Same here
@rhymes1717
@rhymes1717 Жыл бұрын
The catch here is that the sequence/answer should not have any substring s, means if s= (()), then the valid answer can be ()()()() because it does not have (()) as substring. And there is only 1 condition that is if s= )( , then only you the answer would be (()), else in every case you can have answer as ()*n. Hopefully it makes sense, if not feel free to ask more. Happy Coding!
@Krishnash1355
@Krishnash1355 Жыл бұрын
So we can print ()()()() as output
@Krishnash1355
@Krishnash1355 Жыл бұрын
And therefore the given string will not lie in the output string that is exactly what the question is asking.
@Bharat_Rider
@Bharat_Rider Жыл бұрын
9:10 null character ig
@pratikkumar5086
@pratikkumar5086 Жыл бұрын
in Problem B what i did is int total = a * 1 + b * k; int rem = m - total; if (rem
@abhishekjaiswal839
@abhishekjaiswal839 Жыл бұрын
What if a = 0 and b*k >m && (m%k)!=0? then it will print 0. But the correct answer is (m - (floor(m/k)) * k).
@pratikkumar5086
@pratikkumar5086 Жыл бұрын
Got it @@abhishekjaiswal839
Educational Codeforces Round #143 (Div-2) | Solutions
1:29:27
Naman Bansal
Рет қаралды 5 М.
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 1,2 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 58 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 85 МЛН
Codeforces Round 893 Div 2 | Video Solutions A - C | by Raghav Goel | TLE Eliminators
1:06:56
TLE Eliminators - by Priyansh
Рет қаралды 2,8 М.
Leetcode Weekly Contest 413 | Video Solutions - A to D | by Harsh Gupta | TLE Eliminators
1:05:36
Winning Codeforces Round 971 (Div. 4) in honor of @que_tourist
1:39:42
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
Arenas, strings and Scuffed Templates in C
12:28
VoxelRifts
Рет қаралды 85 М.
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 1,2 МЛН