pronikov90
?>

При каком формировании производится очистка только каталога диска

Информатика

Ответы

yrgenson2011801
По моему при быстром форматировании.
Zaikinarusina
Вот на С++:

#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <vector>
#include <deque>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <algorithm>
#include <functional>
#include <cstring>
#include <utility>
#include <bitset>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <climits>typedef unsigned long long ulol;
typedef long double ld;
typedef long long lol;
typedef long int  li;#define mp          make_pair
#define F           first
#define S           second
#define sqr(a)      ( (a) * (a) )
#define pb          push_back
#define INF         999999999
#define ret(a)      cout << endl; system("pause"); return(a)
//#define ret(a)      return(a)using namespace std;int main()
{
    ld x;
    cin >> x;
    x = ( 8 / sqrt( x ) ) + sqrt(x);
    cout << x;
    ret(0);
}
Дружинин

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;


namespace KekTus

{

   class Program

   {

       static void PrintArr(int[][] arr)

       {

           foreach (var str in arr)

           {

               foreach (var el in str)

                   Console.Write($"{el}\t");

               Console.WriteLine();

           }

       }


       static void Main(string[] args)

       {

           int M;

           int N;


           try

           {

               Console.Write("M = "); M = int.Parse(Console.ReadLine());

               Console.Write("N = "); N = int.Parse(Console.ReadLine());

           }

           catch

           {

               Console.WriteLine("Ошибка ввода");

               return;

           }


           if (N < 0 || M < 0)

           {

               Console.WriteLine("Ошбка ввода");

               return;

           }


           Console.WriteLine("M = {0}; N = {1}.", M, N);

           int[][] Arr    = new int[M][];

           var rand = new Random();

           for(int i = 0; i < M; ++i)

           {

               Arr[i] = new int[N];

               for (int j = 0; j < N; ++j)

                   Arr[i][j] = rand.Next(10,99);

           }

           Console.WriteLine("Исходный массив:");

           PrintArr(Arr);

           Console.WriteLine();


           int[][] Buffer = new int[N][];

           for (int j = 0; j < N; ++j)

               Buffer[j] = new int[M];


           for (int i = 0; i < M; ++i)

               for (int j = 0; j < N; ++j)

                   Buffer[j][i] = Arr[i][j];

           Arr = Buffer;

           Console.WriteLine("Преобразованный :");

           PrintArr(Arr);

           Console.WriteLine();

       }

   }

}



Сзаполнить массив [x,y] случайными двузначными числами, распечатать в табличном виде, а затем трансп

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

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

При каком формировании производится очистка только каталога диска
Ваше имя (никнейм)*
Email*
Комментарий*

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

eizmaylova6
mariya
rikki07834591
malgoblin2663
БеляковаСтаниславовна
Azarenkoff
baeva-larisa8165
Nikol27051986
tarkhanovilya
Alsergus7811
moidela87
vis-lyubov8832
zverevahelen
al2nik2ol
office3