Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB 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.

45Size
0 Comments
Problem 39. Which values occur exactly three times?
Solution 928929 Submitted 1 hour and 45 minutes ago by Yunpeng Wang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 928928 Submitted 1 hour and 45 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 3. Find the sum of all the numbers of the input vector
Solution 928927 Submitted 1 hour and 46 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 3. Find the sum of all the numbers of the input vector
Solution 928926 Submitted 1 hour and 47 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 3. Find the sum of all the numbers of the input vector
Solution 928925 Submitted 1 hour and 48 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 39. Which values occur exactly three times?
Solution 928924 Submitted 1 hour and 54 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 39. Which values occur exactly three times?
Solution 928923 Submitted 1 hour 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 3. Find the sum of all the numbers of the input vector
Solution 928922 Submitted 1 hour 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 3. Find the sum of all the numbers of the input vector
Solution 928921 Submitted 1 hour and 57 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 3. Find the sum of all the numbers of the input vector
Solution 928920 Submitted 1 hour and 58 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 3. Find the sum of all the numbers of the input vector
Solution 928919 Submitted 2 hours and 1 minute 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 3. Find the sum of all the numbers of the input vector
Solution 928918 Submitted 2 hours and 1 minute 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 39. Which values occur exactly three times?
Solution 928917 Submitted 2 hours and 1 minute 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 3. Find the sum of all the numbers of the input vector
Solution 928916 Submitted 2 hours and 1 minute 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 928915 Submitted 2 hours and 4 minutes ago by Jake Cronk
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 928914 Submitted 2 hours and 6 minutes ago by Jake Cronk
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 928913 Submitted 2 hours and 8 minutes ago by Jake Cronk
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
98Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 928912 Submitted 2 hours and 16 minutes ago by Yunpeng Wang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
98Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 928911 Submitted 2 hours and 17 minutes ago by Yunpeng Wang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 928910 Submitted 2 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.
Incorrect
0 Comments
Problem 1668. Josephus Survivor
Solution 928909 Submitted 2 hours and 31 minutes ago
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 928908 Submitted 2 hours and 47 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928907 Submitted 2 hours and 49 minutes ago by Mike
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 928906 Submitted 2 hours and 51 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
9Size
0 Comments
Problem 2033. poll: would you like the regexp (?@cmd) functionality to be banned in Cody?
Solution 928905 Submitted 2 hours and 55 minutes ago by Mike
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 928904 Submitted 3 hours and 14 minutes ago by Mateusz Ciurus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 928903 Submitted 3 hours and 18 minutes ago by Joanna Ostrowska
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 928902 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.
28Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928901 Submitted 3 hours and 22 minutes ago by Alex Oratis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 354. Back to basics 10 - Max Float
Solution 928900 Submitted 3 hours and 22 minutes ago by TurqoiseInt
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 928899 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.
28Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928898 Submitted 3 hours and 22 minutes ago by Alex Oratis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928897 Submitted 3 hours and 22 minutes ago by Alex Oratis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
9Size
0 Comments
Problem 343. Back to basics 1 - Saving
Solution 928896 Submitted 3 hours and 23 minutes ago by TurqoiseInt
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 928895 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 7. Column Removal
Solution 928894 Submitted 3 hours and 24 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 26. Determine if input is odd
Solution 928893 Submitted 3 hours and 24 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 351. Back to basics 8 - Matrix Diagonals
Solution 928892 Submitted 3 hours and 24 minutes ago by TurqoiseInt
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 928891 Submitted 3 hours and 25 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928890 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.
18Size
0 Comments
Problem 26. Determine if input is odd
Solution 928889 Submitted 3 hours and 29 minutes ago by Jon Doe
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 5. Triangle Numbers
Solution 928888 Submitted 3 hours and 29 minutes ago by Alex Oratis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 928887 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.
18Size
0 Comments
Problem 6. Select every other element of a vector
Solution 928886 Submitted 3 hours and 30 minutes ago by Joanna Ostrowska
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 7. Column Removal
Solution 928885 Submitted 3 hours and 30 minutes ago by Alex Oratis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 7. Column Removal
Solution 928884 Submitted 3 hours and 31 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 7. Column Removal
Solution 928883 Submitted 3 hours and 31 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
72Size
0 Comments
Problem 1592. find the roots of a quadratic equation
Solution 928882 Submitted 3 hours and 31 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 7. Column Removal
Solution 928881 Submitted 3 hours and 32 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 1592. find the roots of a quadratic equation
Solution 928879 Submitted 3 hours and 32 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.