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.

28Size
0 Comments
Problem 7. Column Removal
Solution 914999 Submitted 6 hours and 22 minutes ago by Hypsipyle
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 914998 Submitted 6 hours and 23 minutes ago by Hypsipyle
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 914997 Submitted 6 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.
26Size
0 Comments
Problem 5. Triangle Numbers
Solution 914990 Submitted 6 hours and 41 minutes ago by td58
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 5. Triangle Numbers
Solution 914987 Submitted 6 hours and 41 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 189. Sum all integers from 1 to 2^n
Solution 914980 Submitted 6 hours and 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 26. Determine if input is odd
Solution 914975 Submitted 7 hours and 1 minute ago by td58
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 2690. Armstrong Number
Solution 914944 Submitted 13 hours and 39 minutes ago by Hao li
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2056. Is this number Munchhausen Narcissistic?
Solution 914942 Submitted 13 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.
25Size
0 Comments
Problem 8. Add two numbers
Solution 914941 Submitted 15 hours and 1 minute ago by Bryan Galindo
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 914938 Submitted 15 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.
30Size
0 Comments
Problem 2061. Narcissistic number ?
Solution 914920 Submitted 16 hours and 32 minutes ago by Hao li
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 139. Determine if a Given Number is a Triangle Number
Solution 914909 Submitted 20 hours and 10 minutes ago by Hao li
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 24. Function Iterator
Solution 914907 Submitted 20 hours and 48 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 914899 Submitted 21 hours and 32 minutes ago by Nikita
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 94. Target sorting
Solution 914898 Submitted 21 hours and 33 minutes ago by Nikita
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 94. Target sorting
Solution 914896 Submitted 21 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.
Incorrect
0 Comments
Problem 94. Target sorting
Solution 914895 Submitted 21 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.
Incorrect
0 Comments
Problem 9. Who Has the Most Change?
Solution 914894 Submitted 21 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 9. Who Has the Most Change?
Solution 914893 Submitted 21 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 9. Who Has the Most Change?
Solution 914892 Submitted 21 hours and 42 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 9. Who Has the Most Change?
Solution 914891 Submitted 21 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.
27Size
0 Comments
Problem 730. How many trades represent all the profit?
Solution 914863 Submitted on 24 Jun 2016 at 20:08 by Xin Xiao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 730. How many trades represent all the profit?
Solution 914862 Submitted on 24 Jun 2016 at 20:06 by Xin Xiao
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 914803 Submitted on 24 Jun 2016 at 16:28
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 914802 Submitted on 24 Jun 2016 at 16:28
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 914760 Submitted on 24 Jun 2016 at 15:25
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 914759 Submitted on 24 Jun 2016 at 15:24
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 914758 Submitted on 24 Jun 2016 at 15:24
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 76. De-dupe
Solution 914751 Submitted on 24 Jun 2016 at 14:56 by Ryan Stumvoll
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 914730 Submitted on 24 Jun 2016 at 14:19
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2157. Multiplication
Solution 914729 Submitted on 24 Jun 2016 at 14:19
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 914727 Submitted on 24 Jun 2016 at 14:18 by Eric Goodrich
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 27. Pangrams!
Solution 914716 Submitted on 24 Jun 2016 at 14:05 by Ryan Stumvoll
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 6. Select every other element of a vector
Solution 914715 Submitted on 24 Jun 2016 at 13:59 by Joshua Scala
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 914714 Submitted on 24 Jun 2016 at 13:59
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 914713 Submitted on 24 Jun 2016 at 13:59
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 914712 Submitted on 24 Jun 2016 at 13:58
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 914711 Submitted on 24 Jun 2016 at 13:58
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 914705 Submitted on 24 Jun 2016 at 13:49
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 34. Binary numbers
Solution 914699 Submitted on 24 Jun 2016 at 13:44 by Ryan Stumvoll
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 914696 Submitted on 24 Jun 2016 at 13:42
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 34. Binary numbers
Solution 914695 Submitted on 24 Jun 2016 at 13:42 by Ryan Stumvoll
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 914694 Submitted on 24 Jun 2016 at 13:40
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 914692 Submitted on 24 Jun 2016 at 13:40
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 914690 Submitted on 24 Jun 2016 at 13:40
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1678. Count consecutive 0's in between values of 1
Solution 914678 Submitted on 24 Jun 2016 at 13:32
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 914675 Submitted on 24 Jun 2016 at 13:30
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 57. Summing Digits within Text
Solution 914658 Submitted on 24 Jun 2016 at 12:35 by Allison Kirkegaard
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 944. Create incremental spiral WITHOUT USING EVAL or FEVAL
Solution 914653 Submitted on 24 Jun 2016 at 11:19 by Gergely Patay
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.