You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
Instead of hardcoding a fixed value (20 in this case), assign score for a question, retrieve the score of the submission made, perform some basic pre-checks, for ex. the user is not submitting already accepted question, number of wrong submissions made in this particular question till now (this may be useful in contests such as Gordian Knot, where wrong submissions may decrease overall score of that question) etc, and then update user's score
The text was updated successfully, but these errors were encountered:
contest-portal-backend/src/controllers/question.js
Line 27 in 2f62521
Instead of hardcoding a fixed value (20 in this case), assign score for a question, retrieve the score of the submission made, perform some basic pre-checks, for ex. the user is not submitting already accepted question, number of wrong submissions made in this particular question till now (this may be useful in contests such as Gordian Knot, where wrong submissions may decrease overall score of that question) etc, and then update user's score
The text was updated successfully, but these errors were encountered: