For some completely mysterious reason my c++ uni teacher gives our group completely ffed up tasks taken from depth of project euler or some other non-first-year-student-level handbooks for one freaking lesson (~1.5 hours)