0_0_38763444_1135.cpp:2:1: error: 'package' does not name a type
2 | package com.demo2;
| ^~~~~~~
0_0_38763444_1135.cpp:4:1: error: 'import' does not name a type
4 | import java.util.ArrayList;
| ^~~~~~
0_0_38763444_1135.cpp:4:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_38763444_1135.cpp:5:1: error: 'import' does not name a type
5 | import java.util.Collections;
| ^~~~~~
0_0_38763444_1135.cpp:5:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_38763444_1135.cpp:6:1: error: 'import' does not name a type
6 | import java.util.List;
| ^~~~~~
0_0_38763444_1135.cpp:6:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_38763444_1135.cpp:7:1: error: 'import' does not name a type
7 | import java.util.Scanner;
| ^~~~~~
0_0_38763444_1135.cpp:7:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_38763444_1135.cpp:14:1: error: expected unqualified-id before 'public'
14 | public class HDU_oj2034 {
| ^~~~~~
|