How is Leetcode acceptance rate calculated?

Is acceptance rate calculated for every "Submit" or whether the problem is solved for each coder? E.g., if two coders take on a problem and one solves it on his/her 10th Submit and the other gives up after 10 Submits, is the acceptance rate 50% (1/2) or 5% (1/(10+10))?

Comments (3)