解決済み


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

2年以上 前

解決済み


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

2年以上 前

解決済み


Find the Pattern 5

2年以上 前

解決済み


Find the Pattern 4

2年以上 前

解決済み


Find the Pattern 3

2年以上 前

解決済み


Find the Pattern 2

2年以上 前

解決済み


Find the Pattern 1

2年以上 前

解決済み


Find Logic 32

2年以上 前

解決済み


Find Logic 31

2年以上 前

解決済み


Find Logic 30

2年以上 前

解決済み


Find Logic 29

2年以上 前

解決済み


Find Logic 28

2年以上 前

解決済み


Find Logic 27

2年以上 前

解決済み


Find Logic 26

2年以上 前

解決済み


Find Logic 25

2年以上 前

解決済み


Find Logic 24

2年以上 前

解決済み


Find Logic 23

2年以上 前

解決済み


Find Logic 22

2年以上 前

解決済み


Find Logic 21

2年以上 前

解決済み


Find Logic 20

2年以上 前

解決済み


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

2年以上 前

解決済み


Draw a '4' in a zero matrix!

2年以上 前

解決済み


Draw a '6' in a zero matrix!

2年以上 前

解決済み


Draw a '9' in a zero matrix!

2年以上 前

解決済み


Draw a '7' in a zero matrix!

2年以上 前

解決済み


Draw a '8' in a zero matrix!

2年以上 前

解決済み


Draw a '3' in a zero matrix!

2年以上 前

解決済み


Draw a '2' in a zero matrix!

2年以上 前

解決済み


Draw a '5' in a zero matrix!

2年以上 前

解決済み


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

2年以上 前

さらに読み込む