Difficult without a clue
Everything is in memory
Everything is IN MEMory
So I found a way... and I think it was tricky, bun funny! ;-)
I don't know how to use your CLUE in practice.
Is it possible to modify the code link directly in memory ?
The test code is impressive.
Congrats, you found a way... but not the one I was expecting. Someone called "game" is preventing you from passing the test suite. "game" is somehow stored in memory (see "inmem"). Try unloading it. Hope this helps
Try this one:
"Problem 1745 Get me!"
This is Solution 184498 rewritten for size.
I liked the idea of deleting game.p :)
Solution 184561 is a "smaller" implementation of this approach.
Very well done! That was the solution I was expecting.
Can you examine the test function's mtree to check for dangerous functions, or save function handles to builtins used by the test suite before calling the user code? Aside from making file i/o impossible (e.g. by fixing the sandbox filesystem permissions before calling user code), I don't see how to prevent these kinds of cheats.
Thank you for your hints! I'll see what to add to "Now! (Anticheating version 2)", I would not like to block file i/o.
Times 2 - START HERE
Find the sum of all the numbers of the input vector
Filter AC, pass DC
Who has power to do everything in this world?
Swap two numbers
Become the leader
Back to the Future III
Back to the future II
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office