easyctf-2017/problems/programming/dijkstra/grader.py
2016-03-11 10:48:40 -06:00

4 lines
No EOL
237 B
Python

def grade(tid, answer):
if answer.find("edsger_wybe_dijkstra_was_a_happy_accident") != -1:
return { "correct": True, "message": "Great Job! That's a tough one." }
return { "correct": False, "message": "Nope, try again." }