The score for one of my solution doesnt update despite the solution was good

Back to General discussions forum

ludsrill     2020-09-15 18:17:37

This is the link for my solution which have problems: https://www.codeabbey.com/index/task_solution?task=two-printers&user=luis-david-saavedra&lang=LISP If I look at my solution list in my profile I can see registered the solution for 22 problem but for any reason its name doesn't appear (only the number appear) and in the general list of problems the problem 22 doesn't appear solved if i try resend the solution the score doesn't change. In summary the score for solution 22 does not add to my total score Thanks!!

Rodion (admin)     2020-09-15 20:03:57
User avatar

Hi Friend!

Thanks for reporting this. Really looks queer - something I never seen in past 7 years. I'll go and check what's the matter :o

Sorry for inconvenience!

ludsrill     2020-09-15 20:17:41

Thanks! I have a idea but i don't sure if it'll work, maybe if you delete my solutions for that problem perhaps I could again upload a solution as a new solution. But only if you would can delete that solution

Rodion (admin)     2020-09-15 20:26:44
User avatar

I definitely can delete it, but as it is in database (and link you give works) - it's more interesting to figure out what is wrong :)

I see the issue in DB, the solution is marked as second variant (this may happen for example if there were two solutions for the task in different language). But there is no first variant for it!

Hm-m-m... So I just fix the version number and it should show up (your score will be fixed on next recalculation in few minutes, I think).

Could you tell, weren't you changing the language for that solution, by the way (I know LISP could be misidentified as Python)? Perhaps this operation is buggy still or I'm missing something in its logic...

ludsrill     2020-09-15 20:55:16

That works perfect thanks !! About the question, what happened was that when I solved the problem, I decided check other code that I made with python but I decided to send a solution without code (for that moment I had two solutions python(blank) and LISP) then I got into to "who solved this?" and search my LISP solution and without intention I changed the language from lisp to python this was that generated the problem I got a message that said that my user didn't have a solution for that problem and my score was subtracted. :) That is all that i remember hahaha.

Rodion (admin)     2020-09-15 21:16:45
User avatar

Thanks for explanations! Not sure I completely understand what happened (ha-ha-ha too) - but this means the logic for changing languages is probably not completely correct. Thanks once more for showing this issue, hopefully I can figure this out by and by :)

Also I'd say thanks for your solutions! There are very few people using LISP dialects and as I myself have some intention to train myself in guile version, probably. Perhaps it would be useful to look into your codes as I'm quite naive beginner in this sense :)

ludsrill     2020-09-15 21:46:57

I'm not an expert, far from it, but I'd be happy if my code could help you:)

And thanks again for your quick help!

Please login and solve 5 problems to be able to post at forum