运行 ID: 248

Main.c:1:1: error: unknown type name ‘import’; did you mean ‘short’?
 import java.util.Scanner;
 ^~~~~~
 short
Main.c:1:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token
 import java.util.Scanner;
            ^
Main.c:3:1: error: unknown type name ‘public’
 public class Main {
 ^~~~~~
Main.c:3:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Main’
 public class Main {
              ^~~~