You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
使用docker安装后提交java代码显示
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native t...
代码:
import java.util.*;
public class Main
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
while(in.hasNext())
{
int a = in.nextInt();
int b = in.nextInt();
System.out.println(a+b);
}
}
}
The text was updated successfully, but these errors were encountered:
使用docker安装后提交java代码显示
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native t...
代码:
import java.util.*;
public class Main
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
while(in.hasNext())
{
int a = in.nextInt();
int b = in.nextInt();
System.out.println(a+b);
}
}
}
The text was updated successfully, but these errors were encountered: