Last active
October 27, 2021 15:07
-
-
Save TheAirBlow/0b12ae465452bf5773d9c1eff3c463fd to your computer and use it in GitHub Desktop.
TestEdu Hack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| list_answers(); | |
| function list_answers() | |
| { | |
| console.log("==== NORMAL EXERCISES ===="); | |
| vinq.forEach(function callback(currentValue, index, array) { | |
| index++; | |
| console.log("Excercise " + index + ":"); | |
| hack_normal(index); | |
| }); | |
| console.log("==== OTHER EXERCISES ===="); | |
| svob.forEach(function callback(currentValue, index, array) { | |
| index++; | |
| console.log("Excercise " + index + ":"); | |
| hack_other(index); | |
| }); | |
| } | |
| function hack_normal(number) | |
| { | |
| number -= 1; | |
| str1 = rez[number].toString(2); | |
| while(str1.length < vinq[number]) str1="0"+str1; | |
| str1.split("").forEach(function callback(currentValue, index, array) { | |
| console.log("Checkbox " + index + ": " + currentValue); }); | |
| } | |
| function hack_other(number) | |
| { | |
| number -= 1; | |
| ans = code(svob[number]); | |
| ans.forEach(function callback(currentValue, index, array) { | |
| console.log("Variant " + index + ": " + currentValue); }); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment