algospot pi c++