Hi guys. I have been doing cp for a while and i am not able to implement even though if i have the logic... And also , solving A tasks are sometimes pretty easier . But i want to improve ... Can you guys give some suggestions? I was doing leetcode for some time but i wanted to solve questions on codeforces... Because one of my friends told that the questions are ad-hoc and sometimes convoluted. And pls suggest some math resources for cp. It seems like most of the questions on codeforces are based on mathematical thinking. (I am very bad at it but i want to improve).
Thanks in advance :)