hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Bug in calculation of score?

 
Reply to topic    hacker.org Forum Index » Challenges View previous topic
View next topic
Bug in calculation of score?
Author Message
zeased



Joined: 06 Jan 2010
Posts: 2

Post Bug in calculation of score? Reply with quote
Could it be possible, that you get points for a challenge on the site http://www.hacker.org/challenge/top.php even if you send a wrong answer? The number of solved challenges only increases if the answer is right, but the score increases also for wrong answers, when you try a challenge for the first time.
Wed Feb 10, 2010 3:13 pm View user's profile Send private message
cutter



Joined: 12 Jan 2009
Posts: 17

Post Reply with quote
Yes that's true. I told adum a few months ago but it seems he hasn't fix it yet.
Wed Feb 10, 2010 4:26 pm View user's profile Send private message
Zeta



Joined: 16 Apr 2009
Posts: 62

Post Reply with quote
Yes, looks like that for me.

In http://www.hacker.org/challenge/map/get.php you can see three possibilties for the solved parameter in the XML data:

  • solved="1" (You solved the challenge)
  • solved="0" (You tried and gave a wrong answer)
  • solved="" (You never tried to give an answer to this challenge)


The number of points shown in the highscore is the sum over chal.difficulty**2 for every challenge chal with chal.solved != "".
Wed Feb 10, 2010 4:45 pm View user's profile Send private message
adum



Joined: 19 Apr 2007
Posts: 392

Post Reply with quote
should be fixed now, thanks
Fri Feb 26, 2010 10:45 pm View user's profile Send private message Visit poster's website
Display posts from previous:    
Reply to topic    hacker.org Forum Index » Challenges All times are GMT
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.