Hacker Rank and some codeforces