problem: (A) Ostap and Grasshopper Solution in C/C++ Archive