Language: C++


import java.io.*;
import java.util.*;

public class Main {


    public static void main(String[] args) throws IOException {
        FastScanner in = new FastScanner();
        int x= in.nextInt();
        int y = in.nextInt();
        int z =in.nextInt();
        in.out.println(z + " "+ x + " " + y);
        in.out.close();
    }
}


class FastScanner {
    BufferedReader br;
    StringTokenizer st = new StringTokenizer("");
    PrintWriter out;

    FastScanner() {
        br = new BufferedReader(new InputStreamReader(System.in));
        out = new PrintWriter(System.out);
    }

    FastScanner(String in, String out_) throws FileNotFoundException {
        br = new BufferedReader(new FileReader(in));
        out = new PrintWriter(out_);
    }

    String next() throws IOException {
        while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());
        return st.nextToken();
    }

    int nextInt() throws IOException {
        return Integer.parseInt(next());
    }

    long nextLong() throws IOException {
        return Long.parseLong(next());
    }
}

Compiler output:
a.cc:2:1: error: 'import' does not name a type
    2 | import java.io.*;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: 'import' does not name a type
    3 | import java.util.*;
      | ^~~~~~
a.cc:3:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:5:1: error: expected unqualified-id before 'public'
    5 | public class Main {
      | ^~~~~~
a.cc:20:5: error: 'BufferedReader' does not name a type
   20 |     BufferedReader br;
      |     ^~~~~~~~~~~~~~
a.cc:21:5: error: 'StringTokenizer' does not name a type
   21 |     StringTokenizer st = new StringTokenizer("");
      |     ^~~~~~~~~~~~~~~
a.cc:22:5: error: 'PrintWriter' does not name a type
   22 |     PrintWriter out;
      |     ^~~~~~~~~~~
a.cc:29:23: error: expected ')' before 'in'
   29 |     FastScanner(String in, String out_) throws FileNotFoundException {
      |                ~      ^~~
      |                       )
a.cc:34:5: error: 'String' does not name a type
   34 |     String next() throws IOException {
      |     ^~~~~~
a.cc:39:17: error: expected ';' at end of member declaration
   39 |     int nextInt() throws IOException {
      |                 ^
      |                  ;
a.cc:39:19: error: 'throws' does not name a type
   39 |     int nextInt() throws IOException {
      |                   ^~~~~~
a.cc:43:19: error: expected ';' at end of member declaration
   43 |     long nextLong() throws IOException {
      |                   ^
      |                    ;
a.cc:43:21: error: 'throws' does not name a type
   43 |     long nextLong() throws IOException {
      |                     ^~~~~~
a.cc:46:2: error: expected ';' after class definition
   46 | }
      |  ^
      |  ;
a.cc: In constructor 'FastScanner::FastScanner()':
a.cc:25:9: error: 'br' was not declared in this scope
   25 |         br = new BufferedReader(new InputStreamReader(System.in));
      |         ^~
a.cc:25:18: error: expected type-specifier before 'BufferedReader'
   25 |         br = new BufferedReader(new InputStreamReader(System.in));
      |                  ^~~~~~~~~~~~~~
a.cc:26:9: error: 'out' was not declared in this scope
   26 |         out = new PrintWriter(System.out);
      |         ^~~
a.cc:26:19: error: expected type-specifier before 'PrintWriter'
   26 |         out = new PrintWriter(System.out);
      |                   ^~~~~~~~~~~