Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Cody Solutions

What is Size?

Size refers to the number of nodes in a parse tree. Generally speaking, you can think of size as code length.

27Size
0 Comments
Problem 121. surface of a spherical planet
Solution 547492 Submitted 3 hours and 13 minutes ago by Marius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 547491 Submitted 3 hours and 13 minutes ago by Eddy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 547490 Submitted 3 hours and 16 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2793. Guess
Solution 547489 Submitted 3 hours and 17 minutes ago by Marius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2793. Guess
Solution 547488 Submitted 3 hours and 17 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 109. Check if sorted
Solution 547487 Submitted 3 hours and 17 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 109. Check if sorted
Solution 547486 Submitted 3 hours and 19 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 547485 Submitted 3 hours and 19 minutes ago by Eddy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 547484 Submitted 3 hours and 20 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2793. Guess
Solution 547483 Submitted 3 hours and 20 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2793. Guess
Solution 547482 Submitted 3 hours and 21 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2793. Guess
Solution 547481 Submitted 3 hours and 22 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 12. Fibonacci sequence
Solution 547480 Submitted 3 hours and 22 minutes ago by Shoaibur Rahman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 547479 Submitted 3 hours and 23 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 547478 Submitted 3 hours and 23 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
47Size
0 Comments
Problem 12. Fibonacci sequence
Solution 547477 Submitted 3 hours and 24 minutes ago by Shoaibur Rahman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 547476 Submitted 3 hours and 26 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 547475 Submitted 3 hours and 28 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 29. Nearest Numbers
Solution 547474 Submitted 3 hours and 29 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 547473 Submitted 3 hours and 30 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2793. Guess
Solution 547472 Submitted 3 hours and 34 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2793. Guess
Solution 547471 Submitted 3 hours and 35 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 247. Arrange Vector in descending order
Solution 547470 Submitted 3 hours and 38 minutes ago by Shoaibur Rahman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2793. Guess
Solution 547469 Submitted 3 hours and 44 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2793. Guess
Solution 547468 Submitted 3 hours and 45 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 2793. Guess
Solution 547467 Submitted 3 hours and 51 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2793. Guess
Solution 547466 Submitted 3 hours and 52 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 547465 Submitted 4 hours and 23 minutes ago by Camille Douay
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 547464 Submitted 4 hours and 33 minutes ago by Eddy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 547463 Submitted 4 hours and 35 minutes ago by Eddy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 547462 Submitted 4 hours and 39 minutes ago by Eddy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
31Size
0 Comments
Problem 113. N-Queens Checker
Solution 547461 Submitted 4 hours and 39 minutes ago by bkzcnldw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 547460 Submitted 4 hours and 39 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 547459 Submitted 4 hours and 40 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 113. N-Queens Checker
Solution 547458 Submitted 4 hours and 40 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 547457 Submitted 4 hours and 44 minutes ago by Eddy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 113. N-Queens Checker
Solution 547456 Submitted 4 hours and 46 minutes ago by bkzcnldw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
43Size
0 Comments
Problem 113. N-Queens Checker
Solution 547455 Submitted 4 hours and 49 minutes ago by bkzcnldw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 86. Renaming a field in a structure array
Solution 547454 Submitted 4 hours and 55 minutes ago by Yalong Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 86. Renaming a field in a structure array
Solution 547453 Submitted 5 hours and 2 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
44Size
0 Comments
Problem 113. N-Queens Checker
Solution 547452 Submitted 5 hours and 3 minutes ago by bkzcnldw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 86. Renaming a field in a structure array
Solution 547451 Submitted 5 hours and 3 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
45Size
0 Comments
Problem 113. N-Queens Checker
Solution 547450 Submitted 5 hours and 11 minutes ago by bkzcnldw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 113. N-Queens Checker
Solution 547448 Submitted 5 hours and 13 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 112. Remove the air bubbles
Solution 547447 Submitted 5 hours and 35 minutes ago by bkzcnldw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 112. Remove the air bubbles
Solution 547446 Submitted 5 hours and 56 minutes ago by bkzcnldw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 112. Remove the air bubbles
Solution 547445 Submitted 5 hours and 56 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 547444 Submitted 6 hours and 2 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 547443 Submitted 6 hours and 4 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 20. Summing digits
Solution 547442 Submitted 6 hours and 8 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.