chuev4444
?>

Используя массивы и квадратный корень доработать программу с целью ускорения вычислений. С++ #include "stdafx.h"#include #include using namespace std;int main(int argc, char* argv[]){ int n, i, j; cin >> n; for(i = 2; i <= n; i++) { for(j = 2; (i % j) != 0; j++) { ;//Не делаем в теле ничего. } if(j == i) cout << i << endl; } system("pause"); return 0;}

Информатика

Ответы

tvmigunova551

hkbhubb0 5u but not limited company profile product description additional details and it would make sure it would make sure it would make sure it would make sure your password below is it worth the wait to be in this server has gone wrong with that the information ℹ️ on how the best in this game of this company

6789+668 turn on+7

v5 {7«4} -56

«5=34

Объяснение:

fut +2 умножаем все рассчитываем ответ

Ответить на вопрос

Поделитесь своими знаниями, ответьте на вопрос:

Используя массивы и квадратный корень доработать программу с целью ускорения вычислений. С++ #include "stdafx.h"#include #include using namespace std;int main(int argc, char* argv[]){ int n, i, j; cin >> n; for(i = 2; i <= n; i++) { for(j = 2; (i % j) != 0; j++) { ;//Не делаем в теле ничего. } if(j == i) cout << i << endl; } system("pause"); return 0;}
Ваше имя (никнейм)*
Email*
Комментарий*

Популярные вопросы в разделе

marketing6
mikhail
Sashagleb19
alaevluka77
elenarumack
delfa-r6289
Lyudmila-Popova
Анатольевич447
ГармаеваЕкатерина1637
info2471
Эрендженова
cleopatra1959
ibswoklol1362
shajmasha
len22
▲