Ответ:
Строка 2 ошибка
Объяснение:
c; x; y; z; m; s; f; e; t = map(int, input().split()) - неправильно
c, x, y, z, m, s, f, e, t = map(int, input().split()) - правильно
#include <iostream>
#include <windows.h>
#include <conio.h>
#include <ctime>
int main()
{
srand(time(NULL));
const int n = 20;
double r = 0;
int a[n];
system("cls");
for (int i = 0; i < n; i++)
{
a[i] = rand() % 50;
std::cout << a[i] << " ";
r += 1. / a[i];
}
std::cout << std::endl;
r = 1. / r;
std::cout << "R: " << r << std::endl;
getch();
return 0;
}
#include "iostream"
#include "stdlib.h"
#include "locale.h"
using namespace std;
int main(){
setlocale(LC_ALL, "russian");
int A, B;
cout << "Ââåäèòå ïåðâîå ÷èñëî: "; cin >> A;
cout << "Ââåäèòå âòîðîå ÷èñëî: "; cin >> B;
if (A > B){
cout << "Âòîðîé" << endl;
}else if (A < B){
cout << "Ïåðâûé" << endl;
}else cout << "Îíè ðàâíû" << endl;
system("pause");
return 0;
}