After an error ?
well, it was the worst possible scenario I could think of :) And just for reference, or perhaps a hint, the solution of this problem works just the same if the testsuite only contains the line 'x=1/;' and nothing else, not even a call to myfunction...
So the Cody score is fixed, rather than rounded, floored, or ceilinged. Interesting.
The cody Graal I suppose :)
ha, nice! and congrats, you've reached the highest difficulty level I could come up with (as far as I can tell any solution to this problem will work on absolutely *every* Cody problem you throw it at)
Thank you. Do you have an idea of a new and more protected verification procedure ? I think the key is to control the name of the function/script you submit to Cody servers.
Yes, I agree that simply enforcing that the solution file has the default name (this already happens if you submit a script instead of a function so I imagine it is a simple change) would close this whole class of hacks, which might be a good thing. In general, nevertheless, I agree with the overall cody team strategy regarding hacks, which has been rather permissive, only addressing things that may negatively impact the cody experience for players, while letting hackers have their fun as well and learn in the process. My personal opinion is that I do not mind people using hacks to solve a problem and learn how other people are doing it, but I do not appreciate hacks that steal the lead from more legit answers, particularly when used repeatedly (e.g. I find the regexp trick particularly annoying). Thoughts?
Find the alphabetic word product
Which doors are open?
Distance walked 3D
Area of an Isoceles Triangle
Capture the flag(s)
singularity 2.0 (easier)
Say something funny
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