Codeforces Educational Round 172 (Div. 2) || Editorial for Problem A,B,C ✅

  Рет қаралды 435

NICspy

NICspy

Күн бұрын

A. Greedy Monocarp || B. Game with Colored Marbles || C. Competitive Fishing
contest URL - codeforces.com...
Contact me
LinkedIn - / swapnil-tayal
Instagram - / swapnil_tayal
❌ Don't Click this link - / @nicspyy
🛒💻 Products I use
mic: shorturl.at/iDkis
Please Leave a like, as it takes so much effort to put up this quality of content for you guys! ❤
✨ Hashtags ✨
#Codeforces #CompetitiveProgramming #CodingTutorial #CPlusPlus #CPProblems #EducationalContent #Algorithm #ProgrammingChallenges #CodeforcesSolutions #Div2Contest #CodingEducation #LearnToCode #ProgrammingTips #CodingCommunity #AlgorithmicThinking #TechTutorial #CodingPractice #CodeforcesEditorial #codeforces #cp #cpp #educational #EducationalCodeforces #div3 #codeforcessolutions #editorial #educational #Codeforces172 #172 #codeforces #cp #cpp #educational #EducationalCodeforces #div2 #codeforcessolutions #editorial #educational #Codeforces172 #172
✨ Tags ✨
Codeforces contest 2030, Twice, Intercepted Inputs, Superultra's Favorite Permutation, Sharky Surfing, Competitive programming solutions, C++ coding tutorial, Algorithm explanations, Problem-solving strategies, Educational Codeforces, Div3 contest analysis, Coding challenges walkthrough, Tips for Codeforces contests, Competitive programming techniques, Learn C++ programming, Coding skills development, Programming community insights, Contest preparation strategies

Пікірлер: 5
@AsadKhan-rn8tz
@AsadKhan-rn8tz 2 ай бұрын
c can be done with just greedy?
@nicspyy
@nicspyy 2 ай бұрын
@@AsadKhan-rn8tz yes tags were for greedy in the question
@nicspyy
@nicspyy 2 ай бұрын
B solution: void solve(){ int n; cin>>n; vi a(n); forn(i,0,n) cin>>a[i]; map mp; for(auto i: a) mp[i]++; priority_queue pq; for(auto i: mp){ pq.push({i.ss, i.ff}); } vi alice, bob; int g = 0; map mpalice; while(!pq.empty()){ if(g == 0){ // couts; for(int i=0;i=0;i--){ a.pb(x); if(s[i]=='1') x++; else x--; } for(auto i: a) cout
@gautamraj-f7d
@gautamraj-f7d 2 ай бұрын
C wala to kuch hi samajh nhi aaya🙃
@nicspyy
@nicspyy 2 ай бұрын
@@gautamraj-f7d what part is not clear, the pattern one ?
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН
I Spent 100 Hours Inside The Pyramids!
21:43
MrBeast
Рет қаралды 63 МЛН
Terence Tao on how we measure the cosmos | Part 1
28:33
3Blue1Brown
Рет қаралды 736 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,7 МЛН
Kendrick Lamar's Apple Music Super Bowl Halftime Show
13:25
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН