已解决


The cake is a lie...
You're hosting a birthday party with a large number of screaming children. Fortunately, you have a gigantic sheet cake in front...

10 months 前

已解决


Dominant Matrix - 02
It is a follow-up of the problem 55995. There, you found out whether a matrix is diagonally dominant or not. In this problem, y...

10 months 前

问题


Classify triangles as acute, obtuse, or right
In an acute triangle, the three interior angles are acute, or smaller than 90 degrees. In an obtuse triangle, one angle is obtus...

10 months 前 | 0 | 9 个解题者

问题


Compute the antisigma function
The sum of divisors function, or , is the sum of the numbers that divide . The antisigma function is the sum of numbers less tha...

10 months 前 | 0 | 8 个解题者

已解决


Symmetric Pair
Given an (n, 2) matrix, remove any symmetric pairs from the matrix. Keep the first occurrence. (2, 3) and (3, 2) are considere...

10 months 前

已解决


Pairs with Given Sum
Given an array of integers and a target sum, return all unique pairs whose sum is equal to the target. The output should be a ma...

11 months 前

已解决


Last Duplicate
Given an array of integers, find the last duplicate element — that is, the element whose second occurrence appears latest in the...

11 months 前

已解决


First Duplicate
Given an array of integers, return the first duplicate — i.e., the element that appears more than once and whose second appearan...

11 months 前

已解决


Most Frequent Characters
Given a document file or a character array, identify the 'n' most frequently occurring characters and the number of times each a...

11 months 前

已解决


Juros Simples
Faça uma função que calcule o montagem de um investimento com juros simples que receba como argumentos o capital inicial C, a ta...

11 months 前

已解决


Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them. For instance, ...

11 months 前

已解决


Unique rows
A matrix is given as the input. Remove any duplicate rows from the matrix. keep the first occurrence.

11 months 前

已解决


'X'avier
Given a square matrix A of size n, write a function to create a new matrix B where only the elements on the main diagonal and th...

11 months 前

问题


Intersect three sequences
Most numbers have interesting properties, if you look hard enough and interpret “interesting” liberally. Let’s choose a number a...

11 months 前 | 0 | 2 个解题者

已解决


Subtraction
Given two numbers a and b subtract them

11 months 前

已解决


Multiplication
Given 2 numbers a and b mulitply them

11 months 前

已解决


Division
Given two numbers a and b divide them a/b

11 months 前

已解决


Remainder
Given two number a and b find the remainder when you divide a by b

11 months 前

已解决


Find the mean
Find the mean of a given sdet of numbers in a vector x

11 months 前

已解决


Mode
Find the mode of a vector x

11 months 前

已解决


sum numbers to some value n
sum of numbers up to a value n

11 months 前

已解决


add num
add two numbers a and b

11 months 前

已解决


minecraft movie scramble
the following phrase "la la la lava ch ch ch chicken" will be out of order. make it into the correct order

11 months 前

已解决


num to char
make num into char

11 months 前

已解决


Maze Solver with Backtracking and Custom Cost Rules
Write a function solve_maze that finds a path from the top-left corner (1,1) to the bottom-right corner (m,n) of a 2D matrix M, ...

11 months 前

已解决


Find the summation of factorial series
Factorial numbers are n! = 1*2*3....*n the series is 1!, 2!, 3!,........, n!

11 months 前

已解决


Add two numbers
Given two numbers a and b add them together

12 months 前

已解决


Prime Number
Determine if a number is prime

12 months 前

已解决


x = 1

12 months 前

已解决


What kind of triangle?
Write a function named check_triangle that receives three positive integers as input: a, b, and c. These three numbers are inte...

12 months 前

加载更多