0_0_31962567_16316\Main.java:3: 错误: 需要class, interface或enum
public clas Main {
^
0_0_31962567_16316\Main.java:4: 错误: 需要class, interface或enum
public static void main(String[] args) {
^
0_0_31962567_16316\Main.java:6: 错误: 需要class, interface或enum
while (input.hasNext()){
^
0_0_31962567_16316\Main.java:8: 错误: 需要class, interface或enum
int m = input.nextInt();
^
0_0_31962567_16316\Main.java:9: 错误: 需要class, interface或enum
if (n == 0 && m == 0){
^
0_0_31962567_16316\Main.java:11: 错误: 需要class, interface或enum
}
^
0_0_31962567_16316\Main.java:14: 错误: 需要class, interface或enum
List<Integer> nums2 = new ArrayList<>();
^
0_0_31962567_16316\Main.java:15: 错误: 需要class, interface或enum
for (int i = 0;i < n;i++){
^
0_0_31962567_16316\Main.java:15: 错误: 需要class, interface或enum
for (int i = 0;i < n;i++){
^
0_0_31962567_16316\Main.java:15: 错误: 需要class, interface或enum
for (int i = 0;i < n;i++){
^
0_0_31962567_16316\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_31962567_16316\Main.java:18: 错误: 需要class, interface或enum
for (int i = 0;i < m;i++){
^
0_0_31962567_16316\Main.java:18: 错误: 需要class, interface或enum
for (int i = 0;i < m;i++){
^
0_0_31962567_16316\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_31962567_16316\Main.java:22: 错误: 需要class, interface或enum
nums2 = fun(nums2);
^
0_0_31962567_16316\Main.java:23: 错误: 需要class, interface或enum
Collections.sort(nums1);
^
0_0_31962567_16316\Main.java:24: 错误: 需要class, interface或enum
Collections.sort(nums1);
^
0_0_31962567_16316\Main.java:25: 错误: 需要class, interface或enum
boolean flaog = true;
^
0_0_31962567_16316\Main.java:26: 错误: 需要class, interface或enum
String s = "";
^
0_0_31962567_16316\Main.java:27: 错误: 需要class, interface或enum
for (int i = 0; i < nums1.size();i++){
^
0_0_31962567_16316\Main.java:27: 错误: 需要class, interface或enum
for (int i = 0; i < nums1.size();i++){
^
0_0_31962567_16316\Main.java:27: 错误: 需要class, interface或enum
for (int i = 0; i < nums1.size();i++){
^
0_0_31962567_16316\Main.java:29: 错误: 需要class, interface或enum
for (int j = 0;j < nums2.size();j++){
^
0_0_31962567_16316\Main.java:29: 错误: 需要class, interface或enum
for (int j = 0;j < nums2.size();j++){
^
0_0_31962567_16316\Main.java:29: 错误: 需要class, interface或enum
for (int j = 0;j < nums2.size();j++){
^
0_0_31962567_16316\Main.java:32: 错误: 需要class, interface或enum
break;
^
0_0_31962567_16316\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_31962567_16316\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_31962567_16316\Main.java:41: 错误: 需要class, interface或enum
}else {
^
0_0_31962567_16316\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_31962567_16316\Main.java:46: 错误: 需要class, interface或enum
public static List<Integer> fun(List<Integer> ns){
^
0_0_31962567_16316\Main.java:48: 错误: 需要class, interface或enum
nns.add(ns.get(0));
^
0_0_31962567_16316\Main.java:49: 错误: 需要class, interface或enum
for (int i = 1;i < ns.size();i++){
^
0_0_31962567_16316\Main.java:49: 错误: 需要class, interface或enum
for (int i = 1;i < ns.size();i++){
^
0_0_31962567_16316\Main.java:49: 错误: 需要class, interface或enum
for (int i = 1;i < ns.size();i++){
^
0_0_31962567_16316\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_31962567_16316\Main.java:55: 错误: 需要class, interface或enum
}
^
37 个错误
|