Ответ:4
Объяснение:
Поднялся на 2, тоесть оказался в D:\, затем создал каталог и переместил файл Общая. В итоге D:\9класс\общая
#include <iostream>
#include <cstdlib>
using namespace std;
int main(){
int a[16];
int i=0,c;
for(i; i<16; i++){
a[i]=rand()%40+10;
cout<<a[i]<<' ';
}
i=0;
for(i; i<4; i++){
c=a[i];
a[i]=a[7-i];
a[7-i]=c;
}
for(i=8; i<12; i++){
c=a[i];
a[i]=a[23-i];
a[23-i]=c;
}
cout<<endl;
for (i=0; i<16; i++){
cout<<a[i]<<' ';
}
return 0;
}
Вроде правильно, проверь. Вопросы, недочеты в ЛС
<span>3)proba.doc ................................................</span>
Const n = 5;
var
i, p, x:byte;
z: array[1..n] of byte;
begin
readln(x);
for i:=1 to n do
begin
readln(z[i]);
if z[i]=x then p:=i;
end;
writeln(p);
end.
//Dev C++ 4.9.9.2
#include <iostream>
using namespace std;
int main(){
int n;
cin>>n;
cout<<endl;
int **ma;
ma=(int **)malloc(sizeof(int*)*n);
for (int i=0;i<n;i++){
ma[i]=(int*)malloc(sizeof(int)*n);}
for(int i=0;i<n;i++){
for(int j=0;j<n;j++)
cin>>ma[i][j];
cout<<endl;}
for(int i=0;i<n-1;i++)
for(int j=i+1;j<n;j++)
if(ma[i][j]!=ma[j][i]){
cout<<"NO";
cin.get();
cin.get();
return 0;}
cout<<"YES";
cin.get();
cin.get();
return 0;
}
Пример ввода:
4
1
2
3
4
2
1
2
3
3
2
1
4
4
3
4
1
Пример вывода:
YES