neblagopriyatnyi posting dlya environment
1 лет назад от .r-bnwqim{position:relative;} .r-deolkf{box-sizing:border-bo
#include
#include
using namespace std;
int main() {
SetConsoleOutputCP(1251);
int a = 100;
while (a < 1000) {
int sot = a / 100;
int des = (a - sot * 100) / 10;
int ed = a - sot * 100 - des * 10;
int S = (sot * sot * sot) + (des * des * des) + (ed * ed * ed);
if (S == 730) {
cout << "Наименьшее трехзначное число: " << a << endl;
}
a++;
}

5
2