add cut
This commit is contained in:
parent
bf135f455b
commit
0f4b5ef855
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ def generate(random):
|
|||
})
|
||||
|
||||
def grade(random, key):
|
||||
n, e, deez, salt = get_problem(random)
|
||||
n, e, cut, deez, salt = get_problem(random)
|
||||
if key.find("%s%s" % (flag, salt)) >= 0:
|
||||
return True, "Correct!"
|
||||
return False, "Nope."
|
||||
|
|
Loading…
Reference in a new issue