Please check the last row
We have data of matrix, that is input.
That contains 2 or more rows and the last row should contain the average of each column,...
Be happy
check whether the given number is happy in b-base.
* A happy number can be defined as a number which will yield 1 when it is ...
3 years 前
已解决
Bell Triangle
Form the bell triangle upto nth bell number posotion;
* if n=5
*
y= [1 0 0 0 0;
1 2 0 0...
3 years 前
已解决
Integer complexity (Large numbers)
Inspired by <http://www.mathworks.com/matlabcentral/cody/problems/42831-integer-complexity Problem 42831>, this problem aims to ...
Monte-Carlo integration
Write a function that estimates a d-dimensional integral to at least 1% relative precision.
Inputs:
* d: positive integer....
3 years 前
已解决
Word Distance - Sum
Let's suppose that the distance of a word can be calculated by summing the differences between its letters, having assigned the ...
3 years 前
已解决
The End of the World
given a date -- represent it in the Maya long count system.
<https://en.wikipedia.org/wiki/Maya_calendar>
<https://maya.nm...
3 years 前
已解决
Lost days
Given two dates in a particular format, calculate the difference between them.
3 years 前
已解决
Cantor counting
Find the nth cantor's rational number. the sequence is given below in the link.
Sequence: 1/1,1/2,2/1,3/1,2/2,1/3,1/4... ... .....