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*
Комментарий*

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

Акимцева27
Mashkov-Daniil1764
chaa140
Vyacheslavovich-Gubanov
ninakucherowa
ag-modul
bchukhraev79
katekn6032
Дарья16
snab54
Larisa-Andrei
Varagyan1728
И.Д.1065
Yurevna_Kharkchinov1302
artmasterstyle