problem: (A) Restaurant Tables Solution in C/C++ Archive