# 刘阳 刘

Last seen: 2 years ago Active since 2022

Followers: 0   Following: 0

#### Feeds

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

2 years 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 : ...

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

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

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

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

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

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

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

2 years 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:...

2 years ago

Solved

Find Logic 23

2 years ago

Solved

Find Logic 22

2 years ago

Solved

Find Logic 21

2 years ago

Solved

Find Logic 20

2 years ago

Solved

Find Logic 18

2 years ago

Solved

Find Logic 17

2 years ago

Solved

Find Logic 14

2 years ago

Solved

Find Logic 16

2 years ago

Solved

Find Logic 19

2 years ago

Solved

Find Logic 15

2 years ago

Solved

Find Logic 13

2 years ago

Solved

Find Logic 12

2 years ago

Solved

Find Logic 11

2 years ago

Solved

Find Logic 10

2 years ago

Solved

Find Logic 9

2 years ago

Solved

Find Logic 8

2 years ago

Solved

Find Logic 7

2 years ago

Solved

Find Logic 6

2 years ago

Solved

Find Logic 4

2 years ago

Solved

Find Logic 3

2 years ago