Community Profile

photo

J-G van der Toorn


678 2012 이후 총 참여 횟수

담당자

J-G van der Toorn's 배지

  • Thankful Level 1
  • First Answer
  • Cody Problems in Japanese Master
  • Scholar
  • Cody Challenge Master
  • First Review
  • First Submission
  • Matrix Manipulation I Master
  • CUP Challenge Master
  • Puzzler
  • Quiz Master
  • Promoter
  • Leader
  • Speed Demon
  • Creator

모두 보기

참여 게시물
보기 기준

해결됨


Operate on matrices of unequal, yet similar, size
You may want to add a vector to a matrix, implying that the vector is added to each column of the matrix. Or multiply a 3x4x5 ma...

1년 이상 전

해결됨


Numbers on 7-segment
This is a 7-segment: _ |_| |_| It's a 3-by-3 char matrix.It has made by 3 characters: '_' , '|' and ' ' (space...

1년 이상 전

해결됨


Calculate time taken by light to reach earth surface
We know the time(seconds) taken by light to reach surface of earth. What if the distance varies yearly or source of light moves ...

1년 이상 전

해결됨


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

1년 이상 전

해결됨


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

1년 이상 전

해결됨


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

1년 이상 전

해결됨


Mean = Standard Deviation
Create a series with following properties; # All of the members should be positive integer # Mean of the series should be in...

1년 이상 전

해결됨


Find prime number couples
Given a vector a, which will always contain at least one pair of prime numbers couple, return a matrix called 'couple' in which ...

1년 이상 전

해결됨


Angle between Two Vectors
The dot product relationship, a dot b = | a | | b | cos(theta), can be used to determine the acute angle between vector a and ve...

1년 이상 전

해결됨


Clockwise or Counterclockwise
Given a list of 2-d points defining the vertices of a polygon, determine whether these points are sorted clockwise. The input...

1년 이상 전

해결됨


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

1년 이상 전

해결됨


Television Screen Dimensions
Given a width to height ratio of a TV screen given as _w_ and _h_ as well as the diagonal length of the television _l_, return t...

1년 이상 전

해결됨


Second Diagonal
Transpose the matrix from it's second diagonal.

1년 이상 전

해결됨


find number of times of occurrence of the most frequent number in a row vector
In a given row vector, find the number of times a mode of a row vector has occurred example: in [2 5 5 5 5 3], output is 4 ...

1년 이상 전

해결됨


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

1년 이상 전

해결됨


Basic Quadratic Equation
Create the equation: y=(3x)^2+(5x)+35 and compute y for various values of x

1년 이상 전

해결됨


function to compute root mean square of first nn positive odd integers
Write a function called odd_rms that returns orms, which is the square root of the mean of the squares of the first nn positive ...

1년 이상 전

해결됨


Percentage of zeros in a matrix of only 1s and 0s
Write a function called _zero_stat_ that takes a matrix as an input that only has 0 and 1 elements. The function needs to comput...

1년 이상 전

해결됨


Datetime basics
Generate the datetime scalar representing the current date

1년 이상 전

해결됨


Check if there are white spaces in the input string
If there are white spaces in the input string, output=1 else 0

1년 이상 전

해결됨


Remove white spaces at the end of the input string
Remove all trailing white spaces at the end of the input strings

1년 이상 전

해결됨


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

1년 이상 전

해결됨


Nth root of a number
Given an input and a number N, find the Nth root of the number(s)

1년 이상 전

해결됨


Dial Up
Each number on telephone keypads, except 0 and 1, corresponds to a set of uppercase letters as shown in this list: 2 ABC, 3 DEF...

1년 이상 전

해결됨


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

1년 이상 전

해결됨


Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

1년 이상 전

해결됨


Day counter function
Write a function called _day_counter_ that returns the number of Mondays that fell on the first day of the month in a given year...

1년 이상 전

해결됨


Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

1년 이상 전

해결됨


Computational power of Cody servers
It has been <https://en.wikipedia.org/wiki/Moore%27s_law#History predicted> that the performance of integrated circuits would _d...

1년 이상 전

해결됨


Basics: counting digits of a number irrespective of the sign
publish the number of digits in any input integer example: -23---->2

1년 이상 전

Load more