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

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

mursvita943
Роман1406
kapral1812
dakimov
nnbeyo
tagirova1
zoomagazinkotmatroskin
denis302007
infoproletarskay745
bolosolo77
Veronika343
Mukhlaev-Olga
Nikolai710
vikka30
nsoro937