Resuelto


Number generator
In this problem, a number will be given. starting with the first digit, keep on adding all subsequent digits till the state (...

casi 6 años hace

Resuelto


Grazing-01
A cow is tied to an outside corner of a rectangular barn of size (a,b) with a rope of length l. What is the maximum area the cow...

casi 6 años hace

Resuelto


GJam 2012 Qualifier: Tongues
This Challenge is a Warm-Up for <http://code.google.com/codejam/schedule.html Google Code Jam 2014> Qualifying round coming up o...

casi 6 años hace

Resuelto


iteration of N blank spot
we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- bl...

casi 6 años hace

Resuelto


The length of the equal sides of an isoceles triangle is 'a'.For all the possible (integer) values of the remaining side,find the associated angles between the two equal sides.
the remaining side may have many possible values.only assume integer ones for simplicity.

casi 6 años hace

Resuelto


Adjoint matrix
given a matrix a, find the adjoint matrix of a.

casi 6 años hace

Resuelto


cofactor matrix
given a matrix, find its cofactor matrix <https://en.wikipedia.org/wiki/Minor_(linear_algebra)#Inverse_of_a_matrix>

casi 6 años hace

Resuelto


another bullseye
create matrix like below -- for x=2, y=[1 1 1 1 1; 1 2 2 2 1; 1 2 3...

casi 6 años hace

Resuelto


Lagrange Interpolation
Given a set of measurements of dependent variables in a vector, Y, that vary with one independent variable in a vector, X, calcu...

casi 6 años hace

Resuelto


Luhn's Algorithm
Luhn's Algorithm is used as a checksum for credit card numbers or similar identifiers. It can detect single-digit changes and sw...

casi 6 años hace

Resuelto


Invert a 3D rotation matrix
Given a 3D rotation matrix, belonging to the matrix group SO(3), compute its inverse without using the functions |inv()| or |pin...

casi 6 años hace

Resuelto


love is an n-letter word
Given a list of *N words*, return the *N-letter word* (choosing one letter from each word) with the property of having the least...

casi 6 años hace

Resuelto


Text Processing - New
Derived from problem 2440. A string containing several sentences are given as input. If any sentence contains the word 'great...

casi 6 años hace

Resuelto


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...

casi 6 años hace

Resuelto


grazing cows
Here is a fun problem I encountered in high school. Two cows are grazing in an enclosed square-shaped field of side length s ...

casi 6 años hace

Resuelto


How tall are you?
measures your height forexample= 175cm 180cm 169cm

casi 6 años hace

Resuelto


Step number
Step number

casi 6 años hace

Resuelto


Non-zero bits in 10^n.
Given an integer that is a power of 10, find the number of non-zero bits, k, in its binary representation. For example: * ...

casi 6 años hace

Resuelto


Normalize by maximum
Subtract the maximum value in a column from the corresponding columns of a matrix.

casi 6 años hace

Resuelto


'Absolute value'
Create a function called own_abs, which is the absolute number entered as the input return value.

casi 6 años hace

Resuelto


Sort (high on middle, low on ends)
Sort the vector of numbers in order low-high-low. Even numbers appear in ascending order on the left and odd numbers appear in d...

casi 6 años hace

Resuelto


Replace values out of an interval with the lower or upper values
For a vector or matrix X and an interval [n1,n2], the function replace every element of x inferior to n1 by n1, and every elemen...

casi 6 años hace

Resuelto


Free-time Equation
Given a 7-day week, an *_nc_* -number of *_tc_* -hour classes, *_ta_* -hours awake in a day, and *_tw_* -hours that you work in ...

casi 6 años hace

Resuelto


Calculate trends in time series
Create a new variable that has trends in input series. If _t+1_ is bigger than or equal to _t_, than trend in _t_ will be 1, oth...

casi 6 años hace

Resuelto


concatenate the elements
you should concatenate the elements of a matrix in one dimensional array, for example if the input is A = [1 2 3; 4 5 6; 7 ...

casi 6 años hace

Resuelto


Prime Product
My professor has given a sequence of N numbers as a1, a2, ..., aN and asked me to find the smallest possible value of ai * aj su...

casi 6 años hace

Resuelto


Decoder Ring
You are given a matrix of numbers, your objective is to use the decoder ring to find the hidden message. ex. encoded_messa...

casi 6 años hace

Resuelto


convert between ascii and characters
I have seen multiple problems like this but none of them have a robust test suite associated with them. The first input C is ...

casi 6 años hace

Resuelto


Second Diagonal
Transpose the matrix from it's second diagonal.

casi 6 años hace

Cargar más