문제를 풀었습니다


Determine the Zeckendorf expansion of a number

대략 5년 전

문제를 풀었습니다


Find the nth Fibbinary number

대략 5년 전

문제를 풀었습니다


The other half of the Fibonacci sequence
The <http://mathworld.wolfram.com/FibonacciNumber.html "Fibonacci sequence"> — F = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,...

대략 5년 전

문제를 풀었습니다


Calculating large fibonacci numbers
The fibonacci sequence starts 1,1,2,3,5,8... Find the the n'th fibonacci number. Then calculate round(log10( . )) of that n't...

대략 5년 전

문제를 풀었습니다


Get a Fibonacci number's index.
*N.B.* For the purpose of this exercise, the first Fibonacci number is 1, and the second is 2; that is, |fib(1) = 1| and |fib(2)...

대략 5년 전

문제를 풀었습니다


Fibonacci Word
F1='0' F2='1' F3 is the catenation of the previous two. So, F3 = cat(F2,F1)='10'. similarly, F4 = cat(F3,F2...

대략 5년 전

문제를 풀었습니다


XOR fibonacci
a & b are the first two terms in the xor fibonacci sequence. Find the nth term of that sequence. XOR fib sequence is that in ...

대략 5년 전

문제를 풀었습니다


Orthogonal Circles
Check whether two given circles are orthogonal or not. Two circles are orthogonal if they create a right angle at their inter...

대략 5년 전

문제를 풀었습니다


Data Regularization
Provided is an m-by-n integer data matrix A whose elements are drawn arbitrarily from a set *S* = [1,2,3,...,S] for any large in...

대략 5년 전

문제를 풀었습니다


Cumulative minimum of an array
Find the cumulative minimum of an array without using the built-in function <http://www.mathworks.com/help/matlab/ref/cummin.htm...

대략 5년 전

문제를 풀었습니다


Cumulative maximum of an array
Find the cumulative maximum of an array without using the built-in function <http://www.mathworks.com/help/matlab/ref/cummax.htm...

대략 5년 전

문제를 풀었습니다


Moving Product (Easy)
Given an input array A, write a function *movprod(A,k,dim)* to calculate the moving product over a sliding window of length *k* ...

대략 5년 전

문제를 풀었습니다


Add 100

대략 5년 전

문제를 풀었습니다


GJam March 2016 IOW: Password Single
This Challenge is derived from <http://code.google.com/codejam/contest/8274486/dashboard#s=p3 GJam March 2016 Annual I/O for Pas...

대략 5년 전

문제를 풀었습니다


Finite Continued Fraction
Given an input real number x and a natural number n, output the row vector with the n first terms of the continued fraction. F...

대략 5년 전

문제를 풀었습니다


String count
given a string 'str', count the number of the followings - * letters * digits * white space * capital letters * smal...

대략 5년 전

문제를 풀었습니다


Gapful numbers
If a number is divisible by the number formed by the first and last digit of that number then it is defined as a gapful number. ...

대략 5년 전

문제를 풀었습니다


Estimate π from certain values of the zeta function
Cody Problems <https://www.mathworks.com/matlabcentral/cody/problems/2908-approximation-of-pi 2908> and <https://www.mathworks.c...

대략 5년 전

문제를 풀었습니다


Determine the winner of a goofy golf tournament

대략 5년 전

문제를 풀었습니다


A little bit of luck needed
This one may require a little bit of guess work, but it is possible. Hints: - The same solution might fail the tests once and ...

대략 5년 전

문제를 풀었습니다


time of day
Calculate the time of day in days, hours, minutes or seconds passed since the beginning of the day, depending on the unit. The u...

대략 5년 전

문제를 풀었습니다


Expand a term
Given a term, as a string, expand it. e. g. f = '2(x + y)';

대략 5년 전

문제를 풀었습니다


Castling-01
Given the position of only one player's chess pieces(some of them) on the chessboard, figure out whether castling is valid or no...

대략 5년 전

문제를 풀었습니다


Carmichael Number

대략 5년 전

문제를 풀었습니다


modular arithmetic
Given three integers a,b and c, find the remainder when a^b is divided by c. Here, a^b will be well beyond the largest 64 bit in...

대략 5년 전

문제를 풀었습니다


Exponentiation
Given 3 integers b,e,k; find -- mod(b^e,k)

대략 5년 전

문제를 풀었습니다


chess position
given the position of a chess piece in algebric notation, convert it into 8 by 8 matrix format. For example, * 'Qd5' >> [3,4]...

대략 5년 전

문제를 풀었습니다


Primes for Large N: 2^30, System Memory Limit
This Challenge is to further improve the "primes" function for speed/memory usage to the Limit of Cody Memory. The Matlab fun...

대략 5년 전

문제를 풀었습니다


Can the knight take out the pawn?
* position of knight = k * position of pawns = p can the knight take out those pawns? * k='Nf4' * p={'g6','g7'} then...

대략 5년 전

문제를 풀었습니다


Tell your secret
A secret can be told only to 2 persons in 5 minutes. Now, these 2 more persons can spread the secret to 4 other people in the ne...

대략 5년 전

더 보기