Hello Alfonso. Do you want a hacking of the pcode ? Is it possible ? Or do you want a more common measurement from the image with your parameters?
I was going for the simple measurement (and the .p function was just to avoid publishing the actual solution) but please feel free to explore other approaches as well. While common hacks to pass this problem would work, I believe it might not be possible to hack the piechartsolve.p function to give away the solution (but I will be very interested if that proves to be wrong!)
I tried something in my solution.
Ha! I did not think of that, congrats! That gave me an idea for a potentially "unpeakable" .p code. I will create a new problem for that later tonight
Sorted highest to lowest?
Matrix indexing with two vectors of indices
Find the biggest empty box
Find the nearest integer
poll: would you like the regexp (?@cmd) functionality to be banned in Cody?
the proud tradition of zero scores in Cody
feeling VERY lucky?
Knights and Knaves (part 3)
Knights and Knaves (part 2)
Fastest shortest-path-finder in the west
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