0_0_30808242_14840.cpp:1:1: error: 'package' does not name a type
package gengai;
^
0_0_30808242_14840.cpp:2:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_30808242_14840.cpp:3:1: error: expected unqualified-id before 'public'
public class a {
^
|