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.

30Size
0 Comments
Problem 78. Implement a ROT13 cipher
Solution 495176 Submitted 1 hour and 38 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 167. Pizza!
Solution 495174 Submitted 1 hour and 46 minutes ago by Keith
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2542. Convert a grayscale image into RGB colour format, preserving data type
Solution 495171 Submitted 1 hour and 53 minutes ago by George Berken
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 495160 Submitted 5 hours and 10 minutes ago by Mike
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 495143 Submitted 5 hours and 47 minutes ago by Rayan
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 495135 Submitted 5 hours and 55 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 33. Create times-tables
Solution 495103 Submitted 6 hours and 57 minutes ago by Pär
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 495101 Submitted 6 hours and 59 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 106. Weighted average
Solution 495068 Submitted 7 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.
22Size
0 Comments
Problem 5. Triangle Numbers
Solution 495052 Submitted 9 hours and 50 minutes ago by Do
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 495051 Submitted 10 hours and 18 minutes ago by elizabeth
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 495048 Submitted 10 hours and 26 minutes ago by elizabeth
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 31. Remove all the words that end with "ain"
Solution 495041 Submitted 10 hours and 50 minutes ago by Dan Gianotti
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 31. Remove all the words that end with "ain"
Solution 495040 Submitted 10 hours 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 31. Remove all the words that end with "ain"
Solution 495039 Submitted 10 hours and 58 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 26. Determine if input is odd
Solution 495030 Submitted 11 hours and 47 minutes ago by Elza
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 495023 Submitted 11 hours and 59 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 6. Select every other element of a vector
Solution 495011 Submitted 14 hours and 24 minutes ago by Keith
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 495002 Submitted 14 hours and 52 minutes ago by Amira Hosny
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 495001 Submitted 14 hours and 55 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 494996 Submitted 16 hours and 28 minutes ago by Amira Hosny
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 494995 Submitted 16 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.
30Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 494986 Submitted 18 hours and 1 minute ago by Marjolein
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 494985 Submitted 18 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 10. Determine whether a vector is monotonically increasing
Solution 494984 Submitted 18 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 10. Determine whether a vector is monotonically increasing
Solution 494982 Submitted 18 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.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 494981 Submitted 18 hours and 5 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 19. Swap the first and last columns
Solution 494978 Submitted 18 hours and 11 minutes ago by Marjolein
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 26. Determine if input is odd
Solution 494976 Submitted 18 hours and 19 minutes ago by Marjolein
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 494975 Submitted 18 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 26. Determine if input is odd
Solution 494974 Submitted 18 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.
23Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 494973 Submitted 18 hours and 24 minutes ago by Marjolein
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 494972 Submitted 18 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.
23Size
0 Comments
Problem 2532. Generate vector according to sign of vector
Solution 494969 Submitted 19 hours and 2 minutes ago by Ziko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2532. Generate vector according to sign of vector
Solution 494968 Submitted 19 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.
28Size
0 Comments
Problem 53. Duplicates
Solution 494965 Submitted 20 hours and 9 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 53. Duplicates
Solution 494964 Submitted 20 hours and 14 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 87. Indexed Probability Table
Solution 494959 Submitted 21 hours and 59 minutes ago by Dan
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 494957 Submitted 22 hours and 38 minutes ago by Paola
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 494950 Submitted 23 hours 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 4. Make a checkerboard matrix
Solution 494949 Submitted on 2 Sep 2014 at 2:03
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 494948 Submitted on 2 Sep 2014 at 2:00
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 494935 Submitted on 2 Sep 2014 at 1:01 by Keith
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 1811. 05 - Vector Equations 3
Solution 494916 Submitted on 1 Sep 2014 at 23:21 by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 1806. 04 - Scalar Equations 1
Solution 494905 Submitted on 1 Sep 2014 at 22:37 by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1806. 04 - Scalar Equations 1
Solution 494904 Submitted on 1 Sep 2014 at 22:35
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1801. 03 - Matrix Variables 5
Solution 494899 Submitted on 1 Sep 2014 at 22:16 by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1798. 03 - Matrix Variables 2
Solution 494887 Submitted on 1 Sep 2014 at 21:26 by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 1798. 03 - Matrix Variables 2
Solution 494885 Submitted on 1 Sep 2014 at 21:25 by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 50. QWERTY coordinates
Solution 494880 Submitted on 1 Sep 2014 at 21:20 by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.