problem: (B) Petya and Exam Solution In C/C++ Archive