some codes of codeforces.com practice