Код:
#include <iostream>
int main() {
int S = 1;
int I = 5
while(S >= 20) {
int A = I;
S = S + A;
I = I * 5;
}
std::cout << S << std::endl;
return 0;
Код:
#include <iostream>
int main() {
int S = 1;
int I = 5
while(S >= 20) {
int A = I;
S = S + A;
I = I * 5;
}
std::cout << S << std::endl;
return 0;
}