Ответ:
#include <iostream>
int main()
{
int S = 0;
for(int i = 1; S < 100; i++)
S += i * i;
std::cout << S << std::endl;
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
#include <iostream>
int main()
{
int S = 0;
for(int i = 1; S < 100; i++)
S += i * i;
std::cout << S << std::endl;
return 0;
}