문제를 풀었습니다


delta x

2년 초과 전

문제를 풀었습니다


Taxicab distance

2년 초과 전

문제를 풀었습니다


Distance Between Points
Being n the number of points (If n = 3 there would be 3 points: A, B and C). The distance between each pair of points increases...

2년 초과 전

문제를 풀었습니다


Find the "ordinary" or Euclidean distance between A and Z
A, B and Z define three points in the 3D _Euclidean_ space of the form: A = [x1;y1;0]; B = [x2;y2;0]; Z = [x2;y2;z]; Find th...

2년 초과 전

문제를 풀었습니다


Minkowski distance

2년 초과 전

문제를 풀었습니다


Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given number of...

2년 초과 전

문제를 풀었습니다


An array is given. Find the unique elements of the array. [keep the sequence unchanged]
An array is given. Find the unique elements of the array. [keep the sequence unchanged] For example if input x=[2 ,4 , 9 ,2 ,...

2년 초과 전

문제를 풀었습니다


Max Change in Consecutive Elements
If an array is given as input then find the index of consecutive elements that represent maximum change. Example: Input ...

2년 초과 전

문제를 풀었습니다


Définir une fonction creneau
Definr une fonction "creneau" qui prend en entrée un vecteur et renvoie la valeur 1 pour chaque élément positif du vecteur et...

2년 초과 전

문제를 풀었습니다


Tracer un carré de côté a et de centre O
Définir une fonction carre qui prend en entrée un salaire a et un vecteur O de deux élements représentant les coordonnées cartés...

2년 초과 전

문제를 풀었습니다


compter le nombre de zéros dans une matrice
écrire une fonction count_zeros qui prend en entrée une matrice M et détermine le nombre de zéros dans une matrice

2년 초과 전

문제를 풀었습니다


Number of 1s in the Binary Representation of a Number
*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...

2년 초과 전

문제를 풀었습니다


Find Logic 32

2년 초과 전

문제를 풀었습니다


Find Logic 31

2년 초과 전

문제를 풀었습니다


Find Logic 30

2년 초과 전

문제를 풀었습니다


Find Logic 29

2년 초과 전

문제를 풀었습니다


Find Logic 28

2년 초과 전

문제를 풀었습니다


Find Logic 27

2년 초과 전

문제를 풀었습니다


Find Logic 26

2년 초과 전

문제를 풀었습니다


Find Logic 25

2년 초과 전

문제를 풀었습니다


Find Logic 24

2년 초과 전

문제를 풀었습니다


Find Logic 23

2년 초과 전

문제를 풀었습니다


Find Logic 22

2년 초과 전

문제를 풀었습니다


Find Logic 21

2년 초과 전

문제를 풀었습니다


Find Logic 20

2년 초과 전

문제를 풀었습니다


Find Logic 1

2년 초과 전

문제를 풀었습니다


Find Logic 3

2년 초과 전

문제를 풀었습니다


Find Logic 6

2년 초과 전

문제를 풀었습니다


Find Logic 7

2년 초과 전

문제를 풀었습니다


Find Logic 8

2년 초과 전

더 보기