#include <iostream> #include <cmath> #include <vector> #include <algorithm> using std::cout, std::endl, std::cin; std::tuple<int, int> resolve(int& accumulate) { if (accumulate < 2) { return std::make_tuple(-1, -1); } int discontinue = pow(accumulate, 0.5); for (...