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