problem: (D) Recover a functional graph Solution in C/C++ Archive