easyctf-2017/dijkstra/grader.py
Michael Zhang 32832a1c82 Initial
2016-09-09 16:13:22 -05: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." }