easyctf-2017/dijkstra/grader.py
2016-10-28 15:00:59 -05:00

4 lines
No EOL
189 B
Python

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