Community Profile

photo

Nicole


Last seen: 7 months ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Draw Letters
  • Cody Challenge Master
  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Community Group Solver
  • Project Euler I
  • Solver

View badges

Feeds

View by

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

1 year ago

Solved


Pi Digit Probability
Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...

1 year ago

Solved


Find my birthday
Given a birth date x, find my age when my birth day will fall on the same day as I was born. So if I was born on Monday, what ag...

1 year ago

Solved


Divisors for big integer
Inspired by Problem 1025 and Project Euler 12. Given n, return the number y of integers that divide N. For example, with ...

1 year ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

1 year ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

1 year ago

Solved


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

1 year ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

1 year ago

Solved


チェッカーボードを作ろう
整数 n が与えられた時、以下の様な1と0を含むn×nの行列を作成しましょう。a(1,1) は1にする必要があります。 例: 入力 n = 5 出力 a が [1 0 1 0 1 0 1 0 1 0 ...

1 year ago

Solved


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

1 year ago

Solved


Numbers spiral diagonals (Part 1)
Inspired by Project Euler n°28 et 58. A n x n spiral matrix is obtained by starting with the number 1 and moving to the right...

1 year ago

Solved


Sums of cubes and squares of sums
Given the positive integers 1:n, can you: 1. Compute twice the sum of the cubes of those numbers. 2. Subtract the square...

1 year ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

1 year ago

Solved


Find Logic 7

1 year ago

Solved


Find Logic 17

1 year ago

Solved


The Birthday Phenomenon
First off, leap years are not being considered for this. In fact the year that people are born shouldn't be taken into considera...

1 year ago

Solved


Throwing Dice - Will You Be Eaten By The Dragon?
You and a dragon have agreed to let dice rolls determine whether it eats you or not. The dragon will roll a single die, of x ...

1 year ago

Solved


Find Logic 18

1 year ago

Solved


Find Logic 19

1 year ago

Solved


2倍してみよう - ここからスタート!
初めにこの問題を試してみよう。 入力としてxを与え、それを2倍して結果をyに代入せよ。 Examples: Input x = 2 Output y is 4 Input x = 17 Output y is 34 ...

1 year ago

Solved


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

1 year ago

Solved


Converts numbers into characters
Converts numbers into characters

1 year ago

Solved


Find the max element of the array
Find the max element of the array

1 year ago

Solved


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

1 year ago

Solved


二つのベクトルの要素ごとの積の平均を計算しよう
二つの同じ長さのベクトルが与えられたとき、二つのベクトルの要素ごとの積の平均を求めましょう。 例: 二つのベクトル [1 2 3] と [10 15 20] が与えられたとき、 それぞれの要素ごとの積の平均を取ると、 解は 33.3333 と...

1 year ago

Solved


to the 2 all elements
to the 2 all elements

1 year ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

1 year ago

Solved


Double all elements in the array
Duplicate all elements in the array

1 year ago

Solved


calculate the length of matrix
input 1 array, calculate the length

1 year ago

Solved


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

1 year ago

Load more