Adding some problems from UVA, Codeforces. Some problems are incomplete though