0_0_20326172_22374\Main.java:6: 错误: 不兼容的类型: boolean无法转换为int int a=sc.hasNext(); ^ 0_0_20326172_22374\Main.java:7: 错误: 不兼容的类型: boolean无法转换为int int b=sc.hasNext(); ^ 2 个错误