#include <iostream> using namespace std; double max(int a, int b, int c) { int temp = 0; if (a > b) { temp = a; } else temp = b; if (temp > c) { temp = c; } double k = temp * 1.0; return k; } int main() { int P, T, G1, G2, G3, GJ; cin >> P >> T >> G1 >> G2 >>...