yubinbai / leetcode

Solutions to Leetcode Online Judge
https://oj.leetcode.com/problems/
Other
128 stars 73 forks source link

How do you judge your python solution? #1

Closed charnugagoo closed 10 years ago

yubinbai commented 11 years ago

it was not judged on the server of leetcode. I just implemented in python and compared with successful solutions in c/java.

if you're using pypy, the performance should be within in a factor of 10 compared to cpp

Yubin

On Tue, Aug 13, 2013 at 11:55 AM, charnugagoo notifications@github.comwrote:

— Reply to this email directly or view it on GitHubhttps://github.com/baiyubin/leetcode/issues/1 .

charnugagoo commented 11 years ago

How did you compare solutions? Do you have a script?

Thanks!

yubinbai commented 11 years ago

I don't really have a script. I usually use a diff tool to compare outputs.

Yubin

On Wed, Aug 14, 2013 at 2:30 AM, charnugagoo notifications@github.comwrote:

How did you compare solutions? Do you have a script?

Thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/baiyubin/leetcode/issues/1#issuecomment-22617348 .