Problem 262. Swap the input arguments
Your initial code suggestion is weird :)
Why it is wrong?
too easy =)
This is one I can get behind.
easy money fellas
can someone please explain what exactly is size which is displayed after submitting the code?
Cody initially used a code-size point system for solving a problem, which gave you points according to the size of the solution. That was, the smaller your solution size, the more points you got.
The solution size is calculated as follows - "Cody uses a node-count calculation to determine the solution size based on the number of nodes in the parse tree. Think of size as code length. Comments do not contribute to code size."
(click Help button on your link dashboard or go to the link
Also note that the scoring system was changed to fixed points system (10 points for solving a problem) some time ago.
Solution CommentsShow comments
Problem Recent Solvers8882
Back to basics 22 - Rotate a matrix
Longest run of consecutive numbers
Find the maximum number of decimal places in a set of numbers
More from this Author5
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!