Closed rishabhKalakoti closed 5 years ago
tested :)
All right then.
Sorry I'm not able to devote full attention to this. Bogged with reading backlog
On Sat 11 May, 2019, 19:40 Rishabh Kalakoti, notifications@github.com wrote:
@rishabhKalakoti commented on this pull request.
In server.py https://github.com/PyJaipur/PyJudge/pull/113#discussion_r283098088:
@app.get("/contest/
") def contest(code):
- for contest in contests:
- if(contest.code == code):
- description = contest.description
- questions = contest.questions
- return template("contest.html", code=code, description=description, questions=questions)
-@app.get("/question/
") -def question(number): - statement = questions[number].statement
- return template("index.html", question_number=number, question=statement)
- if not code in contests:
- return "Contest does not exist"
- if contests[code].start_time > datetime.datetime.now():
We are recording just the submissions to problems. The score is calculated while displaying the ranking and it calculates the score only for the timings the contest is on
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PyJaipur/PyJudge/pull/113#discussion_r283098088, or mute the thread https://github.com/notifications/unsubscribe-auth/AB2WHUI6UWHODRVLH6SSGALPU3HU5ANCNFSM4HL4BAKQ .
@theSage21 , So... is this one good to go yet?
fixes #103