0_0_37144021_28872.cpp:1:1: error: 'import' does not name a type import java.util.*; ^ 0_0_37144021_28872.cpp:3:1: error: expected unqualified-id before 'public' public class Main { ^