# ChrisR

I teach courses in water resources and environmental fluid mechanics.

**Statistics**

RANK**N/A**

of 243 792

REPUTATION**N/A**

CONTRIBUTIONS

**0** Questions

**0** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**0**

RANK

of 17 054

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

row-th maximum row elements

Input a is a square matrix of size n*n. Output vector v is of size 1*n. The ith element of output v is the ith largest element o...

2 dagar ago

Problem

Compute the largest number whose prime factors sum to n

This problem deals with a sequence whose tenth term is 36 because the prime factors of 36 (2, 2, 3, 3) sum to 10. The number 32 ...

2 dagar ago | 1 | 4 solvers

Solved

Kaggle: Reverse Game of Life - Single Move to One Cell Case

<http://www.kaggle.com/c/conway-s-reverse-game-of-life Kaggle's Conway's Reverse Game of Life> contest inspires this Single Reve...

5 dagar ago

Problem

List the cuban primes

The number 61 is a cuban prime because it is prime and the difference two cubes, 64 and 125. Write a function to list the cuba...

6 dagar ago | 1 | 4 solvers

Solved

Twist 'n' Match

Given n and m, construct an n-by-n matrix a such that a, when rotated 90 degrees and compared with itself, matches itself in exa...

7 dagar ago

Solved

Poly2mask, drawpolygon or patch

Recently, I tried to plot a polygon in matlab, and I found there is a lot of embedded function that can be used. However, some f...

11 dagar ago

Solved

Clock Solitaire

Many card players will be familiar with the game of <http://en.wikipedia.org/wiki/Clock_patience Clock Solitaire>. Briefly, th...

12 dagar ago

Solved

Poker Card Deal!

Anyone want to play a card game? Well this is making one deck of cards, with the option of using 2 jokers. The outputs are ...

13 dagar ago

Solved

Combine Cards to make 21

Given between two and six cards, e.g. A _ 3 _ 7 _ 6 _ 2 place one of the mathematical symbols (+,-,*,/) in the space betw...

15 dagar ago

Solved

Easy Sequences 31: N-N's Sequence

We define the N-N's Sequence, as the series of all positive integers in ascending order and with repetition, wherein a appears ...

17 dagar ago

Solved

Godfather or Goodfather

Recently, I watched the movie called the Godfather. In my opinoin, Vito Corleone is not just a godfather, he is also a good fat...

17 dagar ago

Solved

Easy Sequences 28: Sum of Radicals of Integers

The radical of a positive integer is defined as the product of the distinct prime numbers dividing . For example, the distinct ...

18 dagar ago

Solved

Binpack Contest: Retro

The <http://www.mathworks.com/matlabcentral/contest/contests/3/rules Full Binpack Rules and examples>. This Challenge is a re...

18 dagar ago

Solved

Coin distribution

Imagine, u r in a shop. ur bill is n(2200). u want to pay the bill with minimum no of coins u have. u've coins of - 2000,1000...

19 dagar ago

Solved

Plotting Practice

Plot cos(x) vs x as shown in the figure below. Include the appropriate title, x-label, and y-label. Note, it is case sensitive. ...

20 dagar ago

Solved

Easy Sequences 25: Product of Series

The function 'P(n)' is defined as the series product: where 'T(n)' is the triangular sum: ...

20 dagar ago

Solved

GJam 2017 Kickstart: Leader (Small)

This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p0 GJam 2017 Kickstart Leader>. This ...

21 dagar ago

Solved

Easy Sequences 23: Hat Guessing Game!

Consider the following Game Show: Hats, with numbers written on each, were placed on the heads of the participants. Participant...

21 dagar ago

Solved

Draw matrix 'Swiss flag'( Euro 2020)

Draw a x-by-x matrix 'Swiss flag' using '0' and '1'.(x is odd and bigger than 4) Example x=5 ...

22 dagar ago

Solved

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

26 dagar ago

Solved

Change on Spiral Matrix

n>=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will ...

26 dagar ago

Solved

LIFO Validation

Write a function to check whether a LIFO (Last In First Out) restriction on inventory is violated. We have two input vectors ...

27 dagar ago

Solved

How to multiply?

* Imagine you are in 3012 Anno Domini, when everyone must learn how to multiply, * and competing for the highly prestigious pos...

29 dagar ago

Solved

Easy Sequences 18: Set Bits of Triple Summations

The function S(n) is defined by the following triple summations: The double brackets mean that th...

30 dagar ago

Solved

Create the flag of Ramumbia

The little known nation of Ramumbia has a very simple flag. It is made up of vertical stripes, Red, Green, Blue, that are equall...

30 dagar ago

Solved

Palindromic Prime

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

ungefär en månad ago

Problem

Multiply binary numbers

Write a function to multiply two binary numbers input as strings. For example, input values of ‘1011’ and ‘101’ should give ’110...

ungefär en månad ago | 2 | 5 solvers