One of the best things about open source software is that, instead of being lost to the ravages of time like older proprietary software, anyone can dust off an old open source program and bring it up ...
Given the constraint of 5000, all O(n ^ 2) solutions should pass. However, my code below got TLE during the contest, which is supposed to be accepted. Could the team help re-run the submissions during ...
I am on Ubuntu 14.04, and am using Jupyter Notebook v 5.4.0. I have installed both Python2 and Python3 using apt and both kernels for Jupyter Notebook. I installed jupyter using pip and am up to date ...