Recently, I tried to work with codeforces API and am interested in finding the total number of accepted question counts but it seems they give a different result. Why?
For example, I fetched all ok verdicts from submission it gave me a count of 173 for my profile but for all times accepted 163 is showing on my codeforces profile page. Is anything being missed to consider?
Did you submit more than one accepted solution for some problems ?
ohh yes thx that is the main issue you are right
How did you fix it if I may know?
By utilizing the contest_id and index, such as:-
and combining these two, duplicate entries can be eliminated.