A. Countdown | Codeforces Round

  Рет қаралды 684

Hitesh Tripathi

Hitesh Tripathi

Күн бұрын

Пікірлер: 9
@MangoLassiYT
@MangoLassiYT 2 жыл бұрын
but what does "The clock will show leading zeroes if the number is smaller than 10n−1" mean
@abhishekanand5898
@abhishekanand5898 3 жыл бұрын
Last index me hi kyun lana pdega...why cant we decrease every non zero char to 0??? And what is the significance of that 10^n-1 given in the question??
@HiteshTripathi
@HiteshTripathi 3 жыл бұрын
Bro complete string is a number ....... to last index pe laoge tabhi to -1 karne se value kam hogi ..... (one th place)
@abhishekanand5898
@abhishekanand5898 3 жыл бұрын
@@HiteshTripathi Got it bhai...I misread it as decrease any digit by 1 and but it was decreasing number by 1.
@saurabhpandey5118
@saurabhpandey5118 3 жыл бұрын
You want the clock to show 0 with as few operations as possible. In an operation, you can do one of the following: 1 decrease the number on the clock by 1, or 2 swap two digits (you can choose which digits to swap, and they don't have to be adjacent). here in 2nd operation we cannot swap adjecent digits but no one is talking about it ! plzz reply am not getting the exact thing or it is something that was some mistake from creators and now no one is talking about it since they got ac?
@HiteshTripathi
@HiteshTripathi 3 жыл бұрын
It simply means they can be or cannot be adjacent ,
@ankitpal7793
@ankitpal7793 3 жыл бұрын
Can you please tell whats with that -'0' in s[I]-'0'
@HiteshTripathi
@HiteshTripathi 3 жыл бұрын
Convert char to int
@faroukslefteye2271
@faroukslefteye2271 3 жыл бұрын
Why do you guys randomly start talking in hindu mid-video ?
C. Balanced Stone Heaps |   Codeforces Round #763 (Div. 2)
14:09
Hitesh Tripathi
Рет қаралды 1,9 М.
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 15 МЛН
C. Weird Sum | Codeforces Round #775
19:59
Hitesh Tripathi
Рет қаралды 1,2 М.
Google Coding Interview With A Competitive Programmer
54:17
Clément Mihailescu
Рет қаралды 2,5 МЛН
(Hard)Maximum Good People Based on Statements | Weekly Contest 277
15:57
Starting Competitive Programming - Steps and Mistakes
9:55
William Lin (tmwilliamlin168)
Рет қаралды 1,4 МЛН
Object-Oriented Programming is Embarrassing: 4 Short Examples
28:03
Brian Will
Рет қаралды 2,1 МЛН
D | Make Them Equal | Educational Codeforces Round 122 (Rated for Div. 2)
21:33
Google Data Center 360° Tour
8:29
Google Cloud Tech
Рет қаралды 5 МЛН
Faster than Rust and C++: the PERFECT hash table
33:52
strager
Рет қаралды 605 М.
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 15 МЛН