Language: C++

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Atcider
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] x = Console.ReadLine().Split(' ');
            int P = int.Parse(x[0]);
            int Q = int.Parse(x[1]);
            int R = int.Parse(x[2]);

            int a = P + Q;
            int b = Q + R;
            int c = R + P;

            int[] kyori = { a, b, c };
            int min = 100;
            for (int i = 0; i < kyori.Length; i++)
                if (kyori[i] < min)
                {
                    min = kyori[i];
                }
            Console.WriteLine(min);
        }

    }  
}


Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:11:26: error: 'string' has not been declared
   11 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:11:35: error: expected ',' or '...' before 'args'
   11 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:32:6: error: expected ';' after class definition
   32 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void Atcider::Program::Main(int*)':
a.cc:13:13: error: 'string' was not declared in this scope
   13 |             string[] x = Console.ReadLine().Split(' ');
      |             ^~~~~~
a.cc:13:20: error: expected primary-expression before ']' token
   13 |             string[] x = Console.ReadLine().Split(' ');
      |                    ^
a.cc:14:21: error: expected primary-expression before 'int'
   14 |             int P = int.Parse(x[0]);
      |                     ^~~
a.cc:15:21: error: expected primary-expression before 'int'
   15 |             int Q = int.Parse(x[1]);
      |                     ^~~
a.cc:16:21: error: expected primary-expression before 'int'
   16 |             int R = int.Parse(x[2]);
      |                     ^~~
a.cc:22:16: error: structured binding declaration cannot have type 'int'
   22 |             int[] kyori = { a, b, c };
      |                ^~
a.cc:22:16: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:22:16: error: empty structured binding declaration
a.cc:22:19: error: expected initializer before 'kyori'
   22 |             int[] kyori = { a, b, c };
      |                   ^~~~~
a.cc:24:33: error: 'kyori' was not declared in this scope
   24 |             for (int i = 0; i < kyori.Length; i++)
      |                                 ^~~~~
a.cc:29:13: error: 'Console' was not declared in this scope
   29 |             Console.WriteLine(min);
      |             ^~~~~~~