Open yaqihou opened 6 years ago
Have the same issue in C++
is the difference significant?
I too can confirm this, and the difference is significant. For example:
$ commit
859.buddy-strings.cpp
✔ Accepted
✔ 23/23 cases passed (8 ms)
✔ Your runtime beats 1.45 % of cpp submissions
However, the website shows Your runtime beats 35.10 % of cpp submissions
The absolute run time is correct (8ms here).
Image Link Here you can verify that the submission id is same in both desktop.
Edit: Added another instance. Another instance: leetcode-cli shows 79.12% where as website shows 97.76%. Problem: 897.
$ leetcode version
2.6.1
might be related to #156
Problem Summary
The rank (that percentage) in runtime distribution in output of leetcode-cli is different from that value shown in leetcode website.
How to reproduce
(Only tried with python) Submit any python script and the the percentage shown in the output "beats over XX %" would be different from the result found in submission details on leetcode website.
Environment
Thanks for this awesome tool!