nomoretard
This commit is contained in:
parent
ccedd4530a
commit
4db9fe02d9
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def generate(random):
|
||||||
})
|
})
|
||||||
|
|
||||||
def grade(random, key):
|
def grade(random, key):
|
||||||
n, salt = get_problem(random)
|
p, q, e, salt = get_problem(random)
|
||||||
if key.find("%s_%s" % (flag, salt)) >= 0:
|
if key.find("%s_%s" % (flag, salt)) >= 0:
|
||||||
return True, "Correct!"
|
return True, "Correct!"
|
||||||
return False, "Nope."
|
return False, "Nope."
|
||||||
|
|
Loading…
Reference in a new issue