Codeforces Round #443 (Div. 2), problem: (B) Table Tennis Solution In C/C++ ✎ Admin 1300 November 8, 2017 Codeforces Round #443 (Div. 2), problem: (B) Table Tennis Solution In C/C++ FacebookXPinterestWhatsApp #include <iostream> using namespace std; int main() { long long n,k,a,m=0,ab=0; cin>>n>>k>>ab; while(–n){ cin>>a; if(m==k){break;} if(ab>a){m++;} else ab=a,m=1; } cout<<ab; } TagsCodeforces Round #443 (Div. 2)problem: (B) Table Tennis Solution In C/C++Codeforces Round #443 (Div. 2)problem: (B) Table Tennis Solve In C/C++ Why Everyone is Obsessed... Shopping June 9, 2026 Are... Read more Why Everyone is Obsessed... Shopping June 8, 2026 Are... Read more Why Everyone is Obsessed... Shopping June 8, 2026 Are... Read more Betty Gilpin Says She... Hollywood June 8, 2026 Acclaimed actress Betty Gilpin is known for her fearless... Read more Why Everyone is Obsessed... Shopping June 7, 2026 Are... Read more Why Everyone is Obsessed... Shopping June 7, 2026 Are... Read more Why Everyone is Obsessed with the Magnetic Spice Rack Are you tired of dealing with everyday frustrations that slow down your routine? We've all been... Why Everyone is Obsessed with the Webcam Cover Slide Are you tired of dealing with everyday frustrations that slow down your routine? We've all been... Why Everyone is Obsessed with the Magnetic Cabinet Locks Are you tired of dealing with everyday frustrations that slow down your routine? We've all been... Betty Gilpin Says She Was ‘Freaked Out’ Over Prosthetic Genitalia for ‘Office Romance’ Birth Scene Acclaimed actress Betty Gilpin is known for her fearless performances, but a specific prop on the set of her latest film pushed her well... Why Everyone is Obsessed with the Microfiber Hair Towel Are you tired of dealing with everyday frustrations that slow down your routine? We've all been... Why Everyone is Obsessed with the Vegetable Chopper Pro Are you tired of dealing with everyday frustrations that slow down your routine? We've all been... How Nature Imagined the Figment of You How Nature Imagined the Figment of You: Alan Lightman on Existential Probability In an era marked by rapid technological shifts and constant digital noise, a... Why Everyone is Obsessed with the Packing Cube Set Are you tired of dealing with everyday frustrations that slow down your routine? We've all been... Why Everyone is Obsessed with the White Noise Machine Are you tired of dealing with everyday frustrations that slow down your routine? We've all been... Previous articleCodeforces Round #443 (Div. 2), problem: (A) Borya’s Diagnosis Solution In C/C++Next articleCodeforces Round #443 (Div. 2), problem: (C) Short Program Solution In C/C++