easyctf-2017/dijkstra/grader.py

4 lines
241 B
Python
Raw Normal View History

2016-10-10 14:26:10 +00:00
def grade(autogen, answer):
2016-03-11 16:48:40 +00:00
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." }