Community Profile

# Nikolaos Nikolaou

1,654 total contributions since 2015

mE Be like : You look like a MoviE!
She bE like : Waaaa...

View all

Contributions in
View by

Solved

Pandigital number n°2 (Inspired by Project Euler 32)
After <http://www.mathworks.com/matlabcentral/cody/problems/2319 Problem 2319>. An n-digit number is pandigital if it makes u...

28 days ago

Solved

Pandigital number n°1 (Inspired by Project Euler 32)
A little warm-up to begin... An n-digit number is pandigital if it makes use of all the digits 1 to n exactly ONCE. For ex...

28 days ago

Solved

Convert decimal to binary and then generate the minimum binary it can with jumbling
input is 10 --> 1010 output should be 3 --> 0011 input 23 --> 10111 output should be 15 --> 01111

29 days ago

Solved

Gray code
Given a decimal number, convert it to its corresponding gray code. 8 -- 1100 ; 4 -- 110 ; 17-- 11001;

29 days ago

Solved

Check if a number belongs in the fibonacci squence
Test if integer i is a number in the fibonacci sequence. Return true if it is.

29 days ago

Solved

given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

30 days ago

Solved

Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

1 month ago

Solved

Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

1 month ago

Solved

Scalar Matrix Manipulation
Assume, input x is a scalar matrix such as, x = 2 0 0 0 2 0 0 0 2 th...

1 month ago

Solved

Cody problems in French : Trouvez la logique Pt.2
Trouvez la logique entre x et y, aidez-vous de la test suite. Bon courage. P.S: L'utilisation de "^" est de nouveau fortement...

1 month ago

Solved

Get the mean digit
Write a function that gives the mean digit (round towards nearest integer) of an input and positive number. For example: x ...

1 month ago

Solved

Say type of roots in quadratic equation
Given the coefficients of a quadratic equation, write a function that gives the output y='RealDifferent' if the roots are real a...

1 month ago

Solved

Get the value 100
Knowing that 123-45-67+89=100, write a function that gives this result for any order of the digits in the input. Otherwise, the ...

1 month ago

Solved

Chào các bạn.
Cho 3 số. Tính tổng của chúng

1 month ago

Solved

Sum sum!!!
Sum the numbers from 1 to n

1 month ago

Solved

Triangle???
Calculate the circumference of an equilateral triangle with x

1 month ago

Solved

Perimeter of a square!
Calculate the circumference of the square whose side is n

1 month ago

Solved

square a number twice with square root of 4/5
square a number twice with square root of 4/5

1 month ago

Solved

Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

1 month ago

Solved

Duplicate all elements in the array
Duplicate all elements in the array

1 month ago

Solved

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

1 month ago

Solved

easy problem
Find the last element of the array

1 month ago

Solved

calculate the length of matrix
input 1 array, calculate the length

1 month ago

Solved

Converts numbers into characters
Converts numbers into characters

1 month ago

Solved

to the 2 all elements
to the 2 all elements

1 month ago

Solved

Find the max element of the array
Find the max element of the array

1 month ago

Solved

the average value of the elements
Calculate the average value of the elements in the array

1 month ago

Solved

Check prime numbers
Let x, return 1 if x is a prime number, 0 otherwise e.g x = 7, return y =1; x = 6 return y = 0;

1 month ago

Solved

Square
square root of x

1 month ago

Solved

factorial
calculate x!

1 month ago