Question Link : codeforces.com... Code linK : codeforces.com... Telegram channel link : t.me/joinchat/... Instagram link : www.instagram....
Пікірлер: 25
@shreyasvishwakarma89794 жыл бұрын
Yr Explainations are great man !!
@codeExplainer4 жыл бұрын
thanks
@akashjain42814 жыл бұрын
Wow, an amazing explanation!
@codeExplainer4 жыл бұрын
Glad it was helpful!
@anshshah49274 жыл бұрын
This was bloody problem i wanst able to solve this one so i didnt procedd further with contest
@codeExplainer4 жыл бұрын
dont worry brother , this was a tough contest.
@amiriqbal16894 жыл бұрын
Man , thanks I tried so much but was unable to do. Nice explanations, dude.
@codeExplainer4 жыл бұрын
Glad it helped
@sakshiramsinghani52844 жыл бұрын
Why can't we solve it like this 👇 sum = a+b+c count = sum/7 if((sum - 2*count)%7==0 && a>=count && b>=count && c>=count) cout
@codeExplainer4 жыл бұрын
for the test case 7 7 7 , you will give true , but the ans is no. i hope this tc will help you . for more doubts contact on telegram channel.
@karthiksharma87204 жыл бұрын
very nice explanation bro
@codeExplainer4 жыл бұрын
Thank you so much 🙂
@AnuragKumar-rz5rt4 жыл бұрын
Oh! man, I cracked the first condition and not able to think of checking every number greater than k.
@codeExplainer4 жыл бұрын
no problem u learn with learn more with practice.
@adityajoshi16064 жыл бұрын
sir what is your rating in codeforces?
@codeExplainer4 жыл бұрын
i am improving..
@himanshukashyap16544 жыл бұрын
Nice.
@codeExplainer4 жыл бұрын
Thanks!
@sourabhkumar61944 жыл бұрын
int d = (a+b+c)/7; if( (a+b+c - d*2) % 7 == 0 && min(a,min(b,c)) >= d) Plzz someone explain why this didn't worked , it was really furstrating
@ankurkumar84654 жыл бұрын
I wasn't able to solve a single ques... Was this contest tougher than others? As always Great Video...
@karthiksharma87204 жыл бұрын
yeah this time contest is tough
@scoffer21504 жыл бұрын
@@karthiksharma8720 why can't we take if((a-1)+(b-1)+(c-1)+1%7==0){YES} else {NO}
@100akulgupta4 жыл бұрын
@@scoffer2150 you are counting enhanced as 1 in this case. I did the same mistake. Take 11 4 1 as an example. After 6th shoot 7th is enhanced, it will take 1 from all. So, ans should be no
@gouravm49864 жыл бұрын
@@scoffer2150 i did the same thing 😅😅😅
@yashdixit83784 жыл бұрын
I had the same problem while solving the first problem but thanks to Akul Gupta for clearing this doubt.