This is progress with test task before I can participate in course about algorithms. My head literary blowing up!

The example in C++ was written for checking my assumptions (but in general this happens accidentally) for the main program originally written on Python. 😅

So, my contest is over. I partially accomplish the assignment.

Successfully resolve the first task in the scope of which program should speed up comparing with an example and should write to stdout tetrahedral number for each positive integer that came from stdin.

The second task should resolve the maximum subarray problem using some algorithm, but I haven't enough time to get it done.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!