0_0_39810861_8698\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_39810861_8698\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_39810861_8698\Main.java:2: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_39810861_8698\Main.java:3: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_39810861_8698\Main.java:5: 错误: 需要class, interface或enum
const int maxn = 1001;
^
0_0_39810861_8698\Main.java:6: 错误: 需要class, interface或enum
int a[maxn];
^
0_0_39810861_8698\Main.java:7: 错误: 需要class, interface或enum
struct conn
^
0_0_39810861_8698\Main.java:10: 错误: 需要class, interface或enum
int score; //扣分
^
0_0_39810861_8698\Main.java:11: 错误: 需要class, interface或enum
}p[maxn];
^
0_0_39810861_8698\Main.java:12: 错误: 需要class, interface或enum
bool cmp(struct conn a, struct conn b)
^
0_0_39810861_8698\Main.java:16: 错误: 需要class, interface或enum
else
^
0_0_39810861_8698\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_39810861_8698\Main.java:22: 错误: 需要class, interface或enum
cin >> T;
^
0_0_39810861_8698\Main.java:23: 错误: 需要class, interface或enum
while (T--)
^
0_0_39810861_8698\Main.java:26: 错误: 需要class, interface或enum
sum = 0;
^
0_0_39810861_8698\Main.java:27: 错误: 需要class, interface或enum
int m;
^
0_0_39810861_8698\Main.java:28: 错误: 需要class, interface或enum
cin >> m;
^
0_0_39810861_8698\Main.java:29: 错误: 需要class, interface或enum
for (i = 1; i <= m; i++)
^
0_0_39810861_8698\Main.java:29: 错误: 需要class, interface或enum
for (i = 1; i <= m; i++)
^
0_0_39810861_8698\Main.java:29: 错误: 需要class, interface或enum
for (i = 1; i <= m; i++)
^
0_0_39810861_8698\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_39810861_8698\Main.java:33: 错误: 需要class, interface或enum
for (i = 1; i <= m; i++)
^
0_0_39810861_8698\Main.java:33: 错误: 需要class, interface或enum
for (i = 1; i <= m; i++)
^
0_0_39810861_8698\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_39810861_8698\Main.java:38: 错误: 需要class, interface或enum
memset(a, 0, sizeof(a));
^
0_0_39810861_8698\Main.java:45: 错误: 需要class, interface或enum
for (i = 1; i <= m; i++)
^
0_0_39810861_8698\Main.java:45: 错误: 需要class, interface或enum
for (i = 1; i <= m; i++)
^
0_0_39810861_8698\Main.java:45: 错误: 需要class, interface或enum
for (i = 1; i <= m; i++)
^
0_0_39810861_8698\Main.java:47: 错误: 需要class, interface或enum
for (j = p[i].day; j > 0; j--)//从最后期限一直往前推
^
0_0_39810861_8698\Main.java:47: 错误: 需要class, interface或enum
for (j = p[i].day; j > 0; j--)//从最后期限一直往前推
^
0_0_39810861_8698\Main.java:52: 错误: 需要class, interface或enum
break;//如果一直到结束都没有空余时间,最后只能扣分
^
0_0_39810861_8698\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_39810861_8698\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_39810861_8698\Main.java:59: 错误: 需要class, interface或enum
}
^
34 个错误
|