Community Profile

# 刘阳 刘

Last seen: 4 months ago Active since 2022

#### Content Feed

View by

Solved

Polite numbers. Politeness.
A polite number is an integer that sums of two or more consecutive positive integers. Politeness of a positive integer is a num...

4 months ago

Solved

Symmetric matrix
You must create a n-by-n *symmetric* matrix such that A(row,col) = row/col for col >= row. Example if n =3 : output is : ...

4 months ago

Solved

Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

4 months ago

Solved

Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

4 months ago

Solved

Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

4 months ago

Solved

Implement a ROT13 cipher
Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

4 months ago

Solved

Big numbers, least significant digits
Given two numbers, x and n, return the last d digits of the number that is calculated by x^n. In all cases, d will be the number...

4 months ago

Solved

Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

4 months ago

Solved

Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

4 months ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 months ago

Solved

Find Logic 23

4 months ago

Solved

Find Logic 22

4 months ago

Solved

Find Logic 21

4 months ago

Solved

Find Logic 20

4 months ago

Solved

Find Logic 18

4 months ago

Solved

Find Logic 17

4 months ago

Solved

Find Logic 14

4 months ago

Solved

Find Logic 16

4 months ago

Solved

Find Logic 19

4 months ago

Solved

Find Logic 15

4 months ago

Solved

Find Logic 13

4 months ago

Solved

Find Logic 12

4 months ago

Solved

Find Logic 11

4 months ago

Solved

Find Logic 10

4 months ago

Solved

Find Logic 9

4 months ago

Solved

Find Logic 8

4 months ago

Solved

Find Logic 7

4 months ago

Solved

Find Logic 6

4 months ago

Solved

Find Logic 4

4 months ago

Solved

Find Logic 3

4 months ago