Skip to content

mathhomework

bradendubois edited this page Jun 9, 2021 · 6 revisions

Math Homework

ID: mathhomework

Difficulty: 2.0

CPU Time: 1 second

Memory: 1024 MB

Solution

For this, it's easy enough to do a triple-nested loop to just calculate each triple of values and see if they equal l, but for speed, one will want to check in each loop to see if a value has exceeded l so that one can exit early, since it's not necessary to keep looping there.

Clone this wiki locally