Community Profile

photo

Ramon Villamangca


Last seen: Today 自 2018 起处于活动状态

Learner and Math Enthusiast

Programming Languages:
C++, Java, Javascript, MATLAB, Ruby, Perl, Swift, Assembly
Spoken Languages:
English

Statistics

All
  • Revival Level 1
  • First Answer
  • Cody 10th Anniversary 10-Day Streak
  • Matrix Patterns III Master
  • Sequences And Series III Master
  • Indexing I Master
  • Computational Geometry I Master
  • Famous
  • Cody Problems in Japanese Master
  • Indexing II Master
  • Functions I Master
  • Puzzler

查看徽章

Content Feed

排序方式:

问题


Easy Sequences 83: Digits of Powers of 3
This problem is a simpler version of 'Easy Sequences 82: Digits of Powers of 2'. Given integers and , we are asked to return th...

1 day 前 | 0 | 0 个解题者

已解决


Longest Collatz Sequence
Inspired by Projet Euler n°14. The Collatz iterative sequence (See Cody problem n° 2103 and 211) is defined for the set of po...

3 days 前

已解决


Fill an array given a sum and array length values
Fill an array with random numbers so that their sum and array length will be equal to the given values as input. Function will ...

3 days 前

已解决


Convert float to base N
The matlab function dec2base converts a positive integer number to a specified base. Extend it so that it works with non intege...

3 days 前

已解决


Canadian Conundrum
After succesfully completing the French Conundrum, you have decided to take a vacation. Your trip is amongst the mighty mountai...

4 days 前

已解决


French Conundrum
The French army is trapped, sorrounded in backwards direction (South and West directions) by enemy traps and ambushes. You are n...

4 days 前

已解决


Acid-Base Chemistry: Which side of the reaction is more favorable?
In an Acid-Base reaction, there is always going to be an acid, a base, a conjugate acid, and a conjugate base. When provided wit...

4 days 前

问题


Digits of Powers of 2
In Project Euler Problem #16, we are asked for sum of the digits of powers of 2. Here we will be asked for more than that. Give...

5 days 前 | 0 | 3 个解题者

已解决


That's some divisor you've got there...
Given a positive integer x, calculate the sum of all of the divisors of the number. Please include the number itself in your fi...

5 days 前

已解决


sum of vectors
sum of vectors

5 days 前

已解决


volume of a cone
create a program that allows us to calculate the volume of a cone using radius "r" and height "h"

5 days 前

已解决


volume of a cube
volume of a cube with "x" side

5 days 前

已解决


area of a circle
area of a circle with "r" as radius

5 days 前

已解决


area of a rectangle
area of a rectangle with base "b" and height "h"

5 days 前

已解决


area of a triangle
area of a triangle, given x as a side

5 days 前

已解决


area of a square
area of a square given x as a side

5 days 前

已解决


Compute the unitary totient of a number
The totient function , the subject of Cody Problems 656 and 50182, gives the number of integers smaller than that are relativel...

5 days 前

已解决


Sum the unitary divisors of a number
Cody Problems 1933 and 46898 deal with , the sum of divisors function. This problem deals with , the sum of unitary divisors fun...

5 days 前

已解决


Count the unitary divisors of a number
Cody Problem 56738 asks for a list of the unitary divisors of a number. For this problem, write a function to count the unitary ...

5 days 前

已解决


List unitary divisors of a number
A unitary divisor of a number divides and satisfies gcd(,) = 1. For example, 9 is a unitary divisor of 18 because gcd(9,2) = ...

5 days 前

已解决


surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

7 days 前

已解决


Determine if a given input is even or odd?
Given an input, determine if even or odd.

7 days 前

已解决


Set some matrix elements to zero
First get the maximum of each *row*, and afterwards set all the other elements to zero. For example, this matrix: 1 2 3 ...

7 days 前

已解决


Permute diagonal and antidiagonal
Permute diagonal and antidiagonal For example [1 2 3;4 5 6;7 8 9] -> [3 2 1;4 5 6;9 8 7] WITHOUT diag function (and variable n...

7 days 前

已解决


Flip the main diagonal of a matrix
Given a n x n matrix, M, flip its main diagonal. Example: >> M=magic(5); >> flipDiagonal(M) 9 24 1 ...

8 days 前

已解决


Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

8 days 前

已解决


Rotate input square matrix 90 degrees CCW without rot90
Rotate input matrix (which will be square) 90 degrees counter-clockwise without using rot90,flipud,fliplr, or flipdim (or eval)....

8 days 前

已解决


Make an awesome ramp for a tiny motorcycle stuntman
Okay, given a vector, say v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 3 6 9 11 0; 6 9 ...

9 days 前

已解决


Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

9 days 前

已解决


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

9 days 前

加载更多