easyctf-2017/problems/programming/dijkstra/grader.py

4 lines
237 B
Python
Raw Normal View History

2016-03-11 16:48:40 +00:00
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." }