Language: C++


    using System;
    using System.IO;
    using System.Windows;
    using System.Collections.Generic;
    using System.Linq;

    class Program
    {
        static void Main(string[] args)
        {
            //input
            string[] input = Console.ReadLine().Split(' ');
            int a = int.Parse(input[0]);
            int b = int.Parse(input[1]);
            int c = int.Parse(input[2]);

            Console.WriteLine(c.ToString() + ' ' + a.ToString() + ' ' +  b.ToString());
        }
    }

Compiler output:
a.cc:2:11: error: expected nested-name-specifier before 'System'
    2 |     using System;
      |           ^~~~~~
a.cc:3:11: error: expected nested-name-specifier before 'System'
    3 |     using System.IO;
      |           ^~~~~~
a.cc:4:11: error: expected nested-name-specifier before 'System'
    4 |     using System.Windows;
      |           ^~~~~~
a.cc:5:11: error: expected nested-name-specifier before 'System'
    5 |     using System.Collections.Generic;
      |           ^~~~~~
a.cc:6:11: error: expected nested-name-specifier before 'System'
    6 |     using System.Linq;
      |           ^~~~~~
a.cc:10:26: error: 'string' has not been declared
   10 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:10:35: error: expected ',' or '...' before 'args'
   10 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:20:6: error: expected ';' after class definition
   20 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void Program::Main(int*)':
a.cc:13:13: error: 'string' was not declared in this scope
   13 |             string[] input = Console.ReadLine().Split(' ');
      |             ^~~~~~
a.cc:13:20: error: expected primary-expression before ']' token
   13 |             string[] input = Console.ReadLine().Split(' ');
      |                    ^
a.cc:14:21: error: expected primary-expression before 'int'
   14 |             int a = int.Parse(input[0]);
      |                     ^~~
a.cc:15:21: error: expected primary-expression before 'int'
   15 |             int b = int.Parse(input[1]);
      |                     ^~~
a.cc:16:21: error: expected primary-expression before 'int'
   16 |             int c = int.Parse(input[2]);
      |                     ^~~
a.cc:18:13: error: 'Console' was not declared in this scope
   18 |             Console.WriteLine(c.ToString() + ' ' + a.ToString() + ' ' +  b.ToString());
      |             ^~~~~~~
a.cc:18:33: error: request for member 'ToString' in 'c', which is of non-class type 'int'
   18 |             Console.WriteLine(c.ToString() + ' ' + a.ToString() + ' ' +  b.ToString());
      |                                 ^~~~~~~~
a.cc:18:54: error: request for member 'ToString' in 'a', which is of non-class type 'int'
   18 |             Console.WriteLine(c.ToString() + ' ' + a.ToString() + ' ' +  b.ToString());
      |                                                      ^~~~~~~~
a.cc:18:76: error: request for member 'ToString' in 'b', which is of non-class type 'int'
   18 |             Console.WriteLine(c.ToString() + ' ' + a.ToString() + ' ' +  b.ToString());
      |                                                                            ^~~~~~~~