Solved

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

2 maanden ago

Solved

Cricket - Is It LBW?
LBW has an unfair reputation as complicated. But if you've watched a third umpire referral, you'll know that it's just a logical...

2 maanden ago

Solved

IQpuzzler Preparation #2: Detect isolated zeros in a 2D matrix
Return true if any isolated single zeros are present in the input M-by-N matrix (zeros with all adjacent elements being non-zero...

2 maanden ago

Solved

add three numbers to equal 6

2 maanden ago

Solved

Add the two numbers to equal 3

2 maanden ago

Solved

Cricket - You Miss, I Hit (Rank Bowlers by Proportion of Bowled and LBW Wickets)
Which bowlers threaten your stumps the most? Given a table of all wickets taken during some particular set of matches and two th...

2 maanden ago

Solved

Volume of a Square
Find a function that creates the volume of a square if side length is 9

2 maanden ago

Solved

Easy Sequences 82: 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...

2 maanden ago

Solved

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

2 maanden ago

Solved

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

2 maanden ago

Solved

learning to code?
dsF

2 maanden ago

Solved

Vectorial sum
vectroiral sum

2 maanden ago

Solved

dont try dis lmao
sd

2 maanden ago

Solved

freeeeeee3

2 maanden ago

Solved

freeeeee
free

2 maanden ago

Solved

freeeeee
free points

2 maanden ago

Solved

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

2 maanden ago

Solved

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

3 maanden ago

Solved

Just square the input
Square the number

3 maanden ago

Solved

Is the number of 1s in a binary integer odd or even?
Your function should turn the input integers into binary form and count the number of 1s in the binary. If the number is odd, re...

3 maanden ago

Solved

List the nth term of Rozhenko’s inventory sequence
Consider a sequence constructed by repeated inventories. A new inventory begins each time a zero is encountered. The first few i...

3 maanden ago

Solved

Cricket - Report the Result (Part II: Test Matches)
Given two scalar strings representing the scores for a test match, return a string reporting the result in the appropriate form:...

3 maanden ago

Solved

Compute the drag on a moving vehicle
We assume no rolling resistance, and the simple rule for Drag : , where is the density of the fluid (assumed at 1.2 ), is the ...

3 maanden ago

Solved

Slope intercept application
Find y given slope (m), x, and y intercept (b).

3 maanden ago

Solved

Check if a year is a leap year or not
Return 1 if a given year is a leap year or 0 if it is not

3 maanden ago

Solved

Remove Duplicates
Remove duplicates from the vector of integers and display in sorted order

3 maanden ago

Solved

Determine if vector has any zeroes
Return 1 if vector has atleast 1 zero, else return 0

3 maanden ago

Solved

Cricket - Career Bowling Statistics
Given a vector s of strings representing a bowler's individual innings records, return their career statistics as a 3-element (n...

3 maanden ago

Solved

Cricket - Report the Result (Part I: Limited Overs)
Given two scalar strings representing the scores for a limited-overs match, return a string reporting the result in the form "Te...

3 maanden ago

Solved

Cricket - Peak Batting Average
Given a vector s of strings representing a batter's individual innings scores (in chronological order), return the highest batti...

3 maanden ago