problem: (A) Bank Robbery Solution in C/C++ Archive