Simple Statistics Codechef Cpp Practice