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.

28Size
0 Comments
Problem 2480. Change the first and last diagonal element of the identity matrix to zero
Solution 535555 Submitted 12 minutes ago by Dariusz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 2529. Solving Quadratic Equations (Version 2)
Solution 535554 Submitted 14 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 2529. Solving Quadratic Equations (Version 2)
Solution 535498 Submitted 1 hour and 39 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 535496 Submitted 1 hour and 44 minutes ago by Chris
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2690. Armstrong Number
Solution 535495 Submitted 1 hour and 51 minutes ago by Jan Orwat
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 535493 Submitted 2 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.
22Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 535444 Submitted 5 hours and 1 minute ago by Avisek
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 535443 Submitted 5 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.
27Size
0 Comments
Problem 39. Which values occur exactly three times?
Solution 535442 Submitted 5 hours and 1 minute ago by Dmytro Tkanov
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 535441 Submitted 5 hours and 4 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 9. Who Has the Most Change?
Solution 535440 Submitted 5 hours and 8 minutes ago by Dmytro Tkanov
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 535439 Submitted 5 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.
Incorrect
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 535438 Submitted 5 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.
Incorrect
0 Comments
Problem 9. Who Has the Most Change?
Solution 535437 Submitted 5 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.
22Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 535423 Submitted 5 hours and 39 minutes ago by Dmytro Tkanov
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 26. Determine if input is odd
Solution 535422 Submitted 5 hours and 43 minutes ago by Sadaaki
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 535420 Submitted 5 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.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 535419 Submitted 5 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 105. How to find the position of an element in a vector without using the find function
Solution 535410 Submitted 6 hours and 21 minutes ago by Reza Ahmadzadeh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 314. Find the sum of the elements in the "second" diagonal
Solution 535407 Submitted 6 hours and 28 minutes ago by Marius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 646. Getting the row and column location from a matrix
Solution 535405 Submitted 6 hours and 35 minutes ago by Michael C.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 1278. Find the nearest integer
Solution 535399 Submitted 6 hours and 42 minutes ago by Michael C.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 2510. Solving Quadratic Equations (Version 1)
Solution 535379 Submitted 7 hours and 20 minutes ago by Michael C.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 240. Project Euler: Problem 6, Natural numbers, squares and sums.
Solution 535375 Submitted 7 hours and 23 minutes ago by Jonathan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 240. Project Euler: Problem 6, Natural numbers, squares and sums.
Solution 535374 Submitted 7 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.
Incorrect
0 Comments
Problem 240. Project Euler: Problem 6, Natural numbers, squares and sums.
Solution 535373 Submitted 7 hours and 25 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 2509. Wind Chill Computation
Solution 535372 Submitted 7 hours and 25 minutes ago by Michael C.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 240. Project Euler: Problem 6, Natural numbers, squares and sums.
Solution 535371 Submitted 7 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.
Incorrect
0 Comments
Problem 60. The Goldbach Conjecture
Solution 535353 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.
24Size
0 Comments
Problem 2690. Armstrong Number
Solution 535335 Submitted 8 hours and 38 minutes ago by Mehmet OZC
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2670. Error handling
Solution 535334 Submitted 8 hours and 40 minutes ago by Mehmet OZC
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 2678. Find out sum and carry of Binary adder
Solution 535331 Submitted 8 hours and 48 minutes ago by James
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2690. Armstrong Number
Solution 535330 Submitted 8 hours and 51 minutes ago by Mehmet OZC
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 2690. Armstrong Number
Solution 535327 Submitted 8 hours and 55 minutes ago by James
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2690. Armstrong Number
Solution 535320 Submitted 9 hours and 4 minutes ago by James
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 535319 Submitted 9 hours and 7 minutes ago by András
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2690. Armstrong Number
Solution 535313 Submitted 9 hours and 34 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 2690. Armstrong Number
Solution 535312 Submitted 9 hours and 35 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2690. Armstrong Number
Solution 535310 Submitted 9 hours and 54 minutes ago by rifat ahmed
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2690. Armstrong Number
Solution 535309 Submitted 9 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.
Incorrect
0 Comments
Problem 2690. Armstrong Number
Solution 535308 Submitted 9 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.
Incorrect
0 Comments
Problem 2690. Armstrong Number
Solution 535307 Submitted 9 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 2690. Armstrong Number
Solution 535306 Submitted 9 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 10. Determine whether a vector is monotonically increasing
Solution 535298 Submitted 10 hours and 21 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 1663. Pizza value using expression with parentheses
Solution 535293 Submitted 10 hours and 38 minutes ago by Wolfgang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 2193. Mysterious digits operation (easy)
Solution 535292 Submitted 10 hours and 39 minutes ago by Maciej
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2193. Mysterious digits operation (easy)
Solution 535288 Submitted 10 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.
30Size
0 Comments
Problem 174. Roll the Dice!
Solution 535284 Submitted 10 hours and 43 minutes ago by Wolfgang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 1554. Calculate the derivative of a polynomial
Solution 535274 Submitted 11 hours and 27 minutes ago by Maciej
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1554. Calculate the derivative of a polynomial
Solution 535273 Submitted 11 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.