Language: C++

using System;

class HelloWorld {

    const int MIN_N = 1;
    const int MAX_N = 100;
    const int MIN_A = 0;
    const int MAX_A = 1000;

    static void Main(string[] args) {
	//InsertionSort sort = new InsertionSort();

	// ??°????????????N???????????????
	int N = int.Parse(Console.ReadLine());
	N = Math.Min(N, MAX_N); // 100??\?????????
	N = Math.Max(N, MIN_N); // 1??\?????????

	// N????????´??°????????????????????§????????????
	string[] input = Console.ReadLine().Split(' ');

	int[] A = new int[N];

	// ???????´????????§£?????????????????£??\??????
	for (int i = 0; i < N; i++) {
	    A[i] = int.Parse(input[i]);
	}

	// ????????¶?????????????????????
	for (int s = 0; s < N; s++) {
	    if (s == N - 1) {
		Console.WriteLine(A[s]);
		continue;
	    }
	    Console.Write(A[s] + " ");
	}

	// ?????\??????????????¢?????´?????????
	for (int k = 1; k < N; k++) {
	    int v = A[k];
	    int j = k - 1;
	    while (j >= 0 && A[j] > v) {
		A[j + 1] = A[j];
		j--;
		A[j + 1] = v;
	    }
	    // ??????
	    for (int s = 0; s < N; s++) {
		if (s == N - 1) {
		    Console.WriteLine(A[s]);
		    continue;
		}
		Console.Write(A[s] + " ");
	    }
	}
    }
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:10:22: error: 'string' has not been declared
   10 |     static void Main(string[] args) {
      |                      ^~~~~~
a.cc:10:31: error: expected ',' or '...' before 'args'
   10 |     static void Main(string[] args) {
      |                               ^~~~
a.cc:56:2: error: expected ';' after class definition
   56 | }
      |  ^
      |  ;
a.cc: In static member function 'static void HelloWorld::Main(int*)':
a.cc:14:17: error: expected primary-expression before 'int'
   14 |         int N = int.Parse(Console.ReadLine());
      |                 ^~~
a.cc:15:13: error: 'Math' was not declared in this scope
   15 |         N = Math.Min(N, MAX_N); // 100??\?????????
      |             ^~~~
a.cc:15:25: error: invalid use of member 'HelloWorld::MAX_N' in static member function
   15 |         N = Math.Min(N, MAX_N); // 100??\?????????
      |                         ^~~~~
a.cc:6:15: note: declared here
    6 |     const int MAX_N = 100;
      |               ^~~~~
a.cc:16:25: error: invalid use of member 'HelloWorld::MIN_N' in static member function
   16 |         N = Math.Max(N, MIN_N); // 1??\?????????
      |                         ^~~~~
a.cc:5:15: note: declared here
    5 |     const int MIN_N = 1;
      |               ^~~~~
a.cc:19:9: error: 'string' was not declared in this scope
   19 |         string[] input = Console.ReadLine().Split(' ');
      |         ^~~~~~
a.cc:19:16: error: expected primary-expression before ']' token
   19 |         string[] input = Console.ReadLine().Split(' ');
      |                ^
a.cc:21:12: error: structured binding declaration cannot have type 'int'
   21 |         int[] A = new int[N];
      |            ^~
a.cc:21:12: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:21:12: error: empty structured binding declaration
a.cc:21:15: error: expected initializer before 'A'
   21 |         int[] A = new int[N];
      |               ^
a.cc:25:13: error: 'A' was not declared in this scope
   25 |             A[i] = int.Parse(input[i]);
      |             ^
a.cc:25:20: error: expected primary-expression before 'int'
   25 |             A[i] = int.Parse(input[i]);
      |                    ^~~
a.cc:31:17: error: 'Console' was not declared in this scope
   31 |                 Console.WriteLine(A[s]);
      |                 ^~~~~~~
a.cc:31:35: error: 'A' was not declared in this scope
   31 |                 Console.WriteLine(A[s]);
      |                                   ^
a.cc:34:13: error: 'Console' was not declared in this scope
   34 |             Console.Write(A[s] + " ");
      |             ^~~~~~~
a.cc:34:27: error: 'A' was not declared in this scope
   34 |             Console.Write(A[s] + " ");
      |                           ^
a.cc:39:21: error: 'A' was not declared in this scope
   39 |             int v = A[k];
      |                     ^
a.cc:49:21: error: 'Console' was not declared in this scope
   49 |                     Console.WriteLine(A[s]);
      |                     ^~~~~~~
a.cc:52:17: error: 'Console' was not declared in this scope
   52 |                 Console.Write(A[s] + " ");
      |                 ^~~~~~~