解決済み


Draw 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

3年弱 前

解決済み


Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

3年弱 前

解決済み


Find the Pattern 5

3年弱 前

解決済み


Find the Pattern 4

3年弱 前

解決済み


Find the Pattern 3

3年弱 前

解決済み


Find the Pattern 2

3年弱 前

解決済み


Find the Pattern 1

3年弱 前

解決済み


Find Logic 32

3年弱 前

解決済み


Find Logic 31

3年弱 前

解決済み


Find Logic 30

3年弱 前

解決済み


Find Logic 29

3年弱 前

解決済み


Find Logic 28

3年弱 前

解決済み


Find Logic 27

3年弱 前

解決済み


Find Logic 26

3年弱 前

解決済み


Find Logic 25

3年弱 前

解決済み


Find Logic 24

3年弱 前

解決済み


Find Logic 23

3年弱 前

解決済み


Find Logic 22

3年弱 前

解決済み


Find Logic 21

3年弱 前

解決済み


Find Logic 20

3年弱 前

解決済み


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

3年弱 前

解決済み


Draw a '4' in a zero matrix!

3年弱 前

解決済み


Draw a '6' in a zero matrix!

3年弱 前

解決済み


Draw a '9' in a zero matrix!

3年弱 前

解決済み


Draw a '7' in a zero matrix!

3年弱 前

解決済み


Draw a '8' in a zero matrix!

3年弱 前

解決済み


Draw a '3' in a zero matrix!

3年弱 前

解決済み


Draw a '2' in a zero matrix!

3年弱 前

解決済み


Draw a '5' in a zero matrix!

3年弱 前

解決済み


Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...

3年弱 前

さらに読み込む