문제를 풀었습니다


Mathematical formula
Find the value of the expression given the values of variables t and k. Assume g=9.81

3년 초과 전

문제를 풀었습니다


Average of two numbers
Find the average of two numbers x1 and x2. For instance, if x1=7 and x2=19, the answer is 13.

3년 초과 전

문제를 풀었습니다


Convert a given Character to its decimal equivalent value
Convert a given character to its decimal equivalent value according to the ascii table. if x = '!'; y = 33; if x = 'u'; ...

3년 초과 전

문제를 풀었습니다


Minimum number of children to distribute unequal cookie portions
A cruel parent wants to distribute N cookies such that it is impossible for every child to receive the same number of cookies. W...

3년 초과 전

문제를 풀었습니다


Ridge regularized linear regression
Given a predictor data matrix of size , target variable vector of size and a shrinkage factor (scalar) (ridge regularization...

3년 초과 전

문제를 풀었습니다


Monty Python and the Holy Grail: Crossing the Bridge of Death
To cross the Bridge of Death, your function must return the numerical value for the airspeed velocity of an unladen swallow

3년 초과 전

문제를 풀었습니다


Vector slither sort!
Sort a numeric vector in the following format: [largest value, smallest value, second largest value, second smallest value, etc...

3년 초과 전

문제를 풀었습니다


Fair Scoring for Cody
The length-based scoring system for Cody has a few well-known loopholes that allow clever programmers to hide complex code insid...

3년 초과 전

문제를 풀었습니다


Concatenated Consecutive Prime

3년 초과 전

문제를 풀었습니다


Parametric Array
Create a row vector, 1xN (Integer, >1), such that the mean of the vector is M (Real number) and the standard deviation of the ...

3년 초과 전

문제를 풀었습니다


Palindromic Primes
A Palindromic Prime is a prime number that is also a palindromic number. (Wiki, OEIS) If given a monotonic series (increment...

3년 초과 전

문제를 풀었습니다


Hoax Numbers
A Hoax Number (OEIS A019506) is defined as a composite number, whose sum of digits is equal to the sum of digits of its distinct...

3년 초과 전

문제를 풀었습니다


Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...

3년 초과 전

문제를 풀었습니다


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

3년 초과 전

문제를 풀었습니다


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

3년 초과 전

문제를 풀었습니다


Determine whether a number is unprimeable
The number 204 is unprimeable because no single digit can be changed to make it prime. In contrast, the number 207 is not unprim...

3년 초과 전

문제를 풀었습니다


Find the remainder with the factorial of PRIMES?
* Take a number greater than or equal to 2 and take its primes. e.g. 6 and its primes are 2 3 5 * calculate the factorial of i...

3년 초과 전

문제를 풀었습니다


Count the primes in Collatz sequences
Several Cody problems (21, 69, 42937, 44448, 44784, 52422) involve Collatz sequences. These start with a seed . If is odd, the ...

3년 초과 전

문제를 풀었습니다


Identify prime words

3년 초과 전

문제를 풀었습니다


Compute the sum of reciprocals of quadratics
Write a function to compute the following sum: See also Cody Problem 46000.

3년 초과 전

문제를 풀었습니다


Compute a sum of Ramanujan
Srinivasa Ramanujan defined the following function: Write a function to compute for various values of . See also Cody Proble...

3년 초과 전

문제를 풀었습니다


Caesar Cipher
Given a input word x and a shift n, encrypt the word with caesar cipher of shift n.

3년 초과 전

문제를 풀었습니다


Caesar Cipher Shift
Given a word and its encrypted version using the caesar cipher, find the shift used.

3년 초과 전

문제를 풀었습니다


Generate Bernoulli polynomials
The Bernoulli polynomial is a polynomial of order with the properties that and for , where the prime denotes differentiat...

3년 초과 전

문제를 풀었습니다


Redefine the Array if the Elements in the Array are Repeating
Check if the Array has any repeating elements, if there are repeating elements then choose "n" as a number of times you want tha...

3년 초과 전

문제를 풀었습니다


Exponent of IEEE Single
Output the exponent bits as a uint8 of the IEEE representation of the single-typed 32-bit float input.

3년 초과 전

문제를 풀었습니다


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

3년 초과 전

문제를 풀었습니다


Easy Sequences 12: 50th Prime
Write a function that outputs the th prime after a given number . For example, the th prime after is . NOTE: If itself is pr...

3년 초과 전

문제를 풀었습니다


Repopulate the City
For any population p of positive integers between pmin and pmax, we can calculate histogram count n for a list of evenly dividin...

3년 초과 전

문제를 풀었습니다


Which Char Array has the greater decimal value
Given to character arrays, determine which array has the greater decimal value. 'Hello' --> 72 + 101 + 108 + 108 + 111 = 500 ...

3년 초과 전

더 보기