Problem 44100. Input & Output "Smart One"
If i give my secret function a x value as input the result will be y value as output. Examples:
input: x=6 ----->>> output: y= 12
input: x=111 ----->>> output: y= 112
Nb: *Test Suite are inputs and outputs so don't submit an answer without refer to them
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 29 Oct 2020
Tip: primes.
Solution Comments
Show commentsProblem Recent Solvers16
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1923 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1320 Solvers
-
Are all the three given point in the same line?
589 Solvers
-
914 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1186 Solvers
More from this Author14
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!