Ad
  • Default User Avatar

    First, I thought it was an array, and I thought I needed to make another array and pass the result of the two equations through a for loop in the new array, but I found it always returned 1.

    Then I searched and found that std::pair is a class template in C++ that provides a way to store two heterogeneous objects as a single unit. I had to watch a 21-minute mathematical video to learn about the equation: reflection with respect to the origin point.

    For me, it is 10/10 for all the knowledge you have to have to solve it.