#include <iostream>
using namespace std;
int main()
{
int A, B, C, D, X, Y;
setlocale(LC_ALL, "Russian");
cout << "A = ";
cin >> A;
cout << "B = ";
cin >> B;
cout << "C = ";
cin >> C;
cout << "D = ";
cin >> D;
cout << "X = ";
cin >> X;
Y = (A * X ^ 3 - B ^ 2) / C * (X - 4) + D;
cout << "\nрезультат: Y = " << Y << "\n";
}
#include <iostream>
using namespace std;
int main()
{
int A, B, C, D, X, Y;
setlocale(LC_ALL, "Russian");
cout << "A = ";
cin >> A;
cout << "B = ";
cin >> B;
cout << "C = ";
cin >> C;
cout << "D = ";
cin >> D;
cout << "X = ";
cin >> X;
Y = (A * X ^ 3 - B ^ 2) / C * (X - 4) + D;
cout << "\nрезультат: Y = " << Y << "\n";
}