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.

10Size
0 Comments
Problem 413. Back to basics 23 - Triangular matrix
Solution 433589 Submitted 27 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 160. So many choices
Solution 433588 Submitted 28 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 160. So many choices
Solution 433587 Submitted 30 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 160. So many choices
Solution 433586 Submitted 30 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
48Size
0 Comments
Problem 1472. nth Rational Number
Solution 433585 Submitted 44 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.
43Size
0 Comments
Problem 1472. nth Rational Number
Solution 433584 Submitted 45 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.
56Size
0 Comments
Problem 730. How many trades represent all the profit?
Solution 433583 Submitted 58 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 619. Multiply a column by a row
Solution 433582 Submitted 1 hour and 13 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 619. Multiply a column by a row
Solution 433581 Submitted 1 hour and 13 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 619. Multiply a column by a row
Solution 433580 Submitted 1 hour and 13 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 353. Back to basics 9 - Indexed References
Solution 433579 Submitted 1 hour and 16 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 716. Arrange vector in ascending order
Solution 433578 Submitted 1 hour and 17 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 138. Number of 1s in the Binary Representation of a Number
Solution 433577 Submitted 1 hour and 18 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 138. Number of 1s in the Binary Representation of a Number
Solution 433576 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.
Incorrect
0 Comments
Problem 138. Number of 1s in the Binary Representation of a Number
Solution 433575 Submitted 1 hour and 19 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 353. Back to basics 9 - Indexed References
Solution 433574 Submitted 1 hour and 26 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 70. Alphabetize by last name
Solution 433572 Submitted 1 hour and 32 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2290. チェッカーボードを作ろう
Solution 433571 Submitted 1 hour and 37 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
49Size
0 Comments
Problem 2290. チェッカーボードを作ろう
Solution 433570 Submitted 1 hour and 38 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.
21Size
0 Comments
Problem 77. Clean the List of Names
Solution 433569 Submitted 1 hour and 39 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 77. Clean the List of Names
Solution 433568 Submitted 1 hour and 41 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 142. give nth decimal place of pi
Solution 433567 Submitted 1 hour and 50 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 142. give nth decimal place of pi
Solution 433566 Submitted 1 hour and 53 minutes ago by Niels
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 433565 Submitted 1 hour and 54 minutes ago by cui yaqi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 142. give nth decimal place of pi
Solution 433564 Submitted 1 hour 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 89. Counting in Finnish
Solution 433563 Submitted 1 hour and 59 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 89. Counting in Finnish
Solution 433562 Submitted 2 hours and 1 minute ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 89. Counting in Finnish
Solution 433561 Submitted 2 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.
8Size
0 Comments
Problem 358. Who knows the last digit of pi?
Solution 433560 Submitted 2 hours and 8 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 719. Rotate a Matrix by 90 degrees
Solution 433559 Submitted 2 hours and 9 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
7Size
0 Comments
Problem 914. Number of Horns on a unicorn!
Solution 433558 Submitted 2 hours and 9 minutes ago by Niels
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 433557 Submitted 2 hours and 12 minutes ago by VIT PUNE
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 19. Swap the first and last columns
Solution 433556 Submitted 2 hours and 18 minutes ago by VIT PUNE
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 19. Swap the first and last columns
Solution 433555 Submitted 2 hours and 19 minutes ago by VIT PUNE
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 45. Make a Palindrome Number
Solution 433554 Submitted 2 hours and 19 minutes ago by Niels
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 433552 Submitted 2 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.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 433551 Submitted 2 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.
15Size
0 Comments
Problem 2290. チェッカーボードを作ろう
Solution 433550 Submitted 2 hours and 29 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 2290. チェッカーボードを作ろう
Solution 433549 Submitted 2 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.
12Size
0 Comments
Problem 2290. チェッカーボードを作ろう
Solution 433548 Submitted 2 hours and 32 minutes ago by Ziko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 642. Convert a vector into a number
Solution 433547 Submitted 2 hours and 40 minutes ago by Victor
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 433546 Submitted 2 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.
8Size
0 Comments
Problem 343. Back to basics 1 - Saving
Solution 433545 Submitted 2 hours and 46 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 642. Convert a vector into a number
Solution 433544 Submitted 2 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.
18Size
0 Comments
Problem 174. Roll the Dice!
Solution 433543 Submitted 2 hours and 47 minutes ago by Chocolate Warrior
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 411. Back to basics 21 - Matrix replicating
Solution 433542 Submitted 2 hours and 48 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
59Size
0 Comments
Problem 34. Binary numbers
Solution 433541 Submitted 2 hours and 48 minutes ago by Chocolate Warrior
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 343. Back to basics 1 - Saving
Solution 433540 Submitted 2 hours and 51 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 343. Back to basics 1 - Saving
Solution 433539 Submitted 2 hours and 53 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 1658. Simple equation: Annual salary
Solution 433538 Submitted 2 hours and 57 minutes ago by Chocolate Warrior
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.