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.

57Size
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 533985 Submitted just now by Alex Aguirre
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1661. Circle area using pi
Solution 533984 Submitted 1 minute ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 120. radius of a spherical planet
Solution 533983 Submitted 7 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 533981 Submitted 10 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 533982 Submitted 10 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 6. Select every other element of a vector
Solution 533980 Submitted 10 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 6. Select every other element of a vector
Solution 533979 Submitted 12 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 167. Pizza!
Solution 533978 Submitted 12 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 533977 Submitted 13 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 6. Select every other element of a vector
Solution 533976 Submitted 14 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 6. Select every other element of a vector
Solution 533975 Submitted 15 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 6. Select every other element of a vector
Solution 533974 Submitted 15 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 26. Determine if input is odd
Solution 533973 Submitted 18 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 533972 Submitted 20 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 533971 Submitted 21 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 2591. Does the coin touch the line?
Solution 533970 Submitted 21 minutes ago by Lukas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 8. Add two numbers
Solution 533969 Submitted 22 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 8. Add two numbers
Solution 533968 Submitted 23 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 7. Column Removal
Solution 533967 Submitted 25 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 106. Weighted average
Solution 533966 Submitted 25 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 533965 Submitted 26 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 106. Weighted average
Solution 533964 Submitted 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 2591. Does the coin touch the line?
Solution 533963 Submitted 27 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 5. Triangle Numbers
Solution 533962 Submitted 27 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 533961 Submitted 29 minutes ago by Alex Aguirre
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
31Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 533960 Submitted 29 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 7. Column Removal
Solution 533959 Submitted 31 minutes ago by Alex Aguirre
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 533958 Submitted 31 minutes ago by Alex Huacho
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 533957 Submitted 31 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 1. Times 2 - START HERE
Solution 533956 Submitted 32 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 533955 Submitted 35 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2350. What is Sum Of all elements of Matrix
Solution 533954 Submitted 35 minutes ago by Lukas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 533953 Submitted 36 minutes ago by Alex Huacho
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2350. What is Sum Of all elements of Matrix
Solution 533952 Submitted 36 minutes ago by Lukas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1. Times 2 - START HERE
Solution 533951 Submitted 36 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 1529. Sum the numbers on the main diagonal
Solution 533950 Submitted 40 minutes ago by Lukas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 533949 Submitted 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 1664. Lightning strike distance: Writing a function
Solution 533948 Submitted 43 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 1529. Sum the numbers on the main diagonal
Solution 533947 Submitted 43 minutes ago by Lukas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1664. Lightning strike distance: Writing a function
Solution 533946 Submitted 44 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 120. radius of a spherical planet
Solution 533945 Submitted 45 minutes ago by Edwin Herrera
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 533944 Submitted 45 minutes ago by Daniel Arcos
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 1661. Circle area using pi
Solution 533943 Submitted 45 minutes ago by Alex Aguirre
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 533942 Submitted 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 512. Spot the rectangle
Solution 533941 Submitted 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 167. Pizza!
Solution 533940 Submitted 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 167. Pizza!
Solution 533939 Submitted 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 6. Select every other element of a vector
Solution 533938 Submitted 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 1664. Lightning strike distance: Writing a function
Solution 533937 Submitted 47 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 533936 Submitted 47 minutes ago by Daniel Arcos
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.