For the best experience, increase the window size or view on a laptop or desktop device
Last updated: Pending
Title | ||
|---|---|---|
Loading... | ||
1/1
No questions are available yet
For the best experience, increase the window size or view on a laptop or desktop device
Title | ||
|---|---|---|
Loading... | ||
Given a list of mines represented as 3-tuples (x, y, radius of explosion), write a program which takes this input and returns the most destructive mine.
Input:
[][]float64{{-3,3,3}, {-1,2,3}, {1,8,4}, {3,1,2}, {-2,-2,3.5}, {1,1,2}, {-1,1,1}, {3,3,1}}
Expected Output:
[]float64{-2,-2,3.5}
Given a list of mines represented as 3-tuples (x, y, radius of explosion), write a program which takes this input and returns the most destructive mine.
Input:
[][]float64{{-3,3,3}, {-1,2,3}, {1,8,4}, {3,1,2}, {-2,-2,3.5}, {1,1,2}, {-1,1,1}, {3,3,1}}
Expected Output:
[]float64{-2,-2,3.5}
Output