Codeforces Round

  Рет қаралды 913

Ashish Kumar

Ashish Kumar

Күн бұрын

Пікірлер: 15
@rishabh2055
@rishabh2055 3 жыл бұрын
What should be the answer in case of 4 2? Shouldn't the NO condition should be a%b==0 instead of b==1.
@soumikdutta7867
@soumikdutta7867 3 жыл бұрын
Well explained bro... keep posting this type of content.
@maruf_sarker
@maruf_sarker Жыл бұрын
Thank you 😊
@alimjafargaming6925
@alimjafargaming6925 3 жыл бұрын
nice explanation
@gthotaku339
@gthotaku339 3 жыл бұрын
THANK U!!
@questionpaper4272
@questionpaper4272 3 жыл бұрын
Bro, I have a doubt. While explaining u said z should be the greatest number and it's A*B ,but is that always true!?? Because if I take A =4 and B=6 , And x=24, y=4 z=28 . In this case z is bigger but not divisible by 24!?? Please do respond!!
@ashishcode
@ashishcode 3 жыл бұрын
That's not correct na, z SHOULD be divisible by A*B, if you have A=4, B=6 then z should be a multiple of A*B, which 28 is not a multiple of 24.
@questionpaper4272
@questionpaper4272 3 жыл бұрын
@@ashishcode they didn't specify that z must be the good number, they only said among x, y,z one is good and one is almost good!? Am I right
@questionpaper4272
@questionpaper4272 3 жыл бұрын
Not one sry, 2 almost good number
@ashishcode
@ashishcode 3 жыл бұрын
@@questionpaper4272 Yeah you are right, that can work but the logic or a certain answer would be with the code I have shown, multiple answers are possible most of the time
@questionpaper4272
@questionpaper4272 3 жыл бұрын
@@ashishcode But then we should consider everything no brother!?
@questionpaper4272
@questionpaper4272 3 жыл бұрын
Bro, one small doubt,!? What do u mean by hack with respect to this contest!?
@ashishcode
@ashishcode 3 жыл бұрын
Afte you lock your solution, you can hack someone's problem, meaning if they have an incorrect solution which passed pretests then you can put a test case where it gives wrong answer.
@questionpaper4272
@questionpaper4272 3 жыл бұрын
@@ashishcode oh like one is this code bro!??
B. Different Divisors | Codeforces Round #696 (Div. 2)
8:17
Hitesh Tripathi
Рет қаралды 4,6 М.
Triple kill😹
00:18
GG Animation
Рет қаралды 18 МЛН
Человек паук уже не тот
00:32
Miracle
Рет қаралды 4,1 МЛН
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 52 МЛН
S. Good Number
18:56
EL KAWEED
Рет қаралды 3,1 М.
The Quest To Make Unbreakable Glass
22:23
Veritasium
Рет қаралды 2,1 МЛН
Codeforces Round 651 (Div 2) , Problem A. Maximum GCD
8:01
Aryan Mittal
Рет қаралды 3 М.
Can't Improve in DSA 😭 DO THIS 🔥
13:36
Ashish Kumar
Рет қаралды 1,9 М.
Why learning English is so Difficult 🤔???
13:56
Mousami Singh
Рет қаралды 1,9 М.
Complete Coding Guide for TCS CodeVita 2024 | With Resources 🔥
14:29
Starting Competitive Programming - Steps and Mistakes
9:55
William Lin (tmwilliamlin168)
Рет қаралды 1,4 МЛН
Day-9: Minimum LCM | 90 Days of Logic Building #codeforces
19:54
B. Same Parity Summands | Codeforces Solution | Difficulty - 1200
12:50
Triple kill😹
00:18
GG Animation
Рет қаралды 18 МЛН