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.

Incorrect
0 Comments
Problem 2290. チェッカーボードを作ろう
Solution 433746 Submitted just now
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1671. Generate the Matrix!
Solution 433745 Submitted 23 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
41Size
0 Comments
Problem 1726. Ohm's Law
Solution 433744 Submitted 58 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.
47Size
0 Comments
Problem 1827. Negation the hard way
Solution 433743 Submitted 1 hour and 6 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.
Incorrect
0 Comments
Problem 1827. Negation the hard way
Solution 433742 Submitted 1 hour and 11 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 1827. Negation the hard way
Solution 433741 Submitted 1 hour and 18 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 1974. Length of a short side
Solution 433740 Submitted 1 hour and 28 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 2015. Length of the hypotenuse
Solution 433739 Submitted 1 hour and 30 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2021. Is this triangle right-angled?
Solution 433738 Submitted 1 hour and 31 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
31Size
0 Comments
Problem 387. drowsy?
Solution 433737 Submitted 1 hour and 33 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.
27Size
0 Comments
Problem 121. surface of a spherical planet
Solution 433736 Submitted 1 hour and 40 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 121. surface of a spherical planet
Solution 433735 Submitted 1 hour 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 33. Create times-tables
Solution 433734 Submitted 1 hour and 44 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
74Size
0 Comments
Problem 164. Right and wrong
Solution 433733 Submitted 1 hour and 44 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 164. Right and wrong
Solution 433732 Submitted 1 hour and 44 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
111Size
0 Comments
Problem 487. Find perfect placement of non-rotating dominoes (easier)
Solution 433731 Submitted 1 hour and 50 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 19. Swap the first and last columns
Solution 433730 Submitted 1 hour and 52 minutes ago by David
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 487. Find perfect placement of non-rotating dominoes (easier)
Solution 433729 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 433727 Submitted 1 hour and 58 minutes ago by chandu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 433726 Submitted 2 hours and 8 minutes ago by Andrew
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 433725 Submitted 2 hours and 11 minutes ago by David
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 433724 Submitted 2 hours and 12 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 1. Times 2 - START HERE
Solution 433723 Submitted 2 hours and 20 minutes ago by Andrew
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 433722 Submitted 2 hours and 22 minutes ago by Andrew
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 167. Pizza!
Solution 433721 Submitted 2 hours and 24 minutes ago by Reda Kerouicha
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 19. Swap the first and last columns
Solution 433720 Submitted 2 hours and 32 minutes ago by Reda Kerouicha
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 556. Stuff the Board
Solution 433719 Submitted 2 hours and 33 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 433718 Submitted 2 hours and 33 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
64Size
0 Comments
Problem 470. Scoring for oriented dominoes
Solution 433717 Submitted 2 hours and 45 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 12. Fibonacci sequence
Solution 433716 Submitted 3 hours and 8 minutes ago by David
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 106. Weighted average
Solution 433715 Submitted 3 hours and 41 minutes ago by David
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 433714 Submitted 3 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.
21Size
0 Comments
Problem 1471. Index of a Rational number
Solution 433713 Submitted 4 hours and 24 minutes ago by José Ramón Menzinger
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 433712 Submitted 5 hours and 3 minutes ago by Michael Carone
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 433711 Submitted 5 hours and 4 minutes ago by Michael Carone
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
41Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 433710 Submitted 5 hours and 11 minutes ago by Johan
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 433707 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.
Incorrect
0 Comments
Problem 658. Find the biggest empty box
Solution 433706 Submitted 5 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.
13Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 433705 Submitted 5 hours and 19 minutes ago by Derek McIntosh
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 433704 Submitted 5 hours and 21 minutes ago by Derek McIntosh
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 433703 Submitted 5 hours and 23 minutes ago by Derek McIntosh
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 433702 Submitted 5 hours and 23 minutes ago by Derek McIntosh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
82Size
0 Comments
Problem 661. Spot the outlier
Solution 433701 Submitted 5 hours and 47 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 661. Spot the outlier
Solution 433700 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.
18Size
0 Comments
Problem 167. Pizza!
Solution 433699 Submitted 6 hours and 33 minutes ago by Johan
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 433698 Submitted 6 hours and 33 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 661. Spot the outlier
Solution 433697 Submitted 6 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.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 433696 Submitted 6 hours and 35 minutes ago by Johan
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 433693 Submitted 6 hours and 38 minutes ago by Johan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 149. Is my wife right?
Solution 433692 Submitted 6 hours and 38 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.