problem: (B) Arpa’s obvious problem and Mehrdad’s terrible solution Solution in C/C++ Archive