为什么使用java就是通过不了

P1001 A+B Problem

QISHI1427 @ 2022-07-09 12:10:30

 package 洛谷练习;

import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        System.out.println(a+b);
    }

}

by I_AK_Ynoi @ 2022-07-09 12:12:45

package 洛谷练习;删了


by QISHI1427 @ 2022-07-09 12:17:22

@I_AK_Ynoi 行了,谢谢哥们


by bw000001 @ 2022-07-11 12:52:26

@QISHI1427 是不是选择的是机器自动识别


by QISHI1427 @ 2022-07-11 15:38:20

@bw000001 不是这个问题,必须要把包名给删掉


by bw000001 @ 2023-07-17 20:41:00

ok,毕竟我不是学java这门语言的


|