easyctf-2017/dijkstra/grader.py

4 lines
189 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:
2016-10-28 20:00:59 +00:00
return True, "Great Job! That's a tough one."
return False, "Nope, try again."