0_0_34641343_7205\Main.java:14: 错误: 需要';'
public static void main(String[]args)
^
0_0_34641343_7205\Main.java:18: 错误: 非法的类型开始
while (scanner.hasNext())
^
0_0_34641343_7205\Main.java:18: 错误: 需要<标识符>
while (scanner.hasNext())
^
0_0_34641343_7205\Main.java:18: 错误: 需要';'
while (scanner.hasNext())
^
0_0_34641343_7205\Main.java:18: 错误: 非法的类型开始
while (scanner.hasNext())
^
0_0_34641343_7205\Main.java:18: 错误: 需要<标识符>
while (scanner.hasNext())
^
0_0_34641343_7205\Main.java:19: 错误: 需要';'
{
^
0_0_34641343_7205\Main.java:20: 错误: 非法的类型开始
N = scanner.nextInt();
^
0_0_34641343_7205\Main.java:20: 错误: 需要';'
N = scanner.nextInt();
^
0_0_34641343_7205\Main.java:20: 错误: 方法声明无效; 需要返回类型
N = scanner.nextInt();
^
0_0_34641343_7205\Main.java:21: 错误: 需要<标识符>
M = scanner.nextInt();
^
0_0_34641343_7205\Main.java:22: 错误: 需要<标识符>
K = scanner.nextInt();
^
0_0_34641343_7205\Main.java:25: 错误: 非法的类型开始
for (int i = 0; i<M; i++)
^
0_0_34641343_7205\Main.java:25: 错误: 需要')'
for (int i = 0; i<M; i++)
^
0_0_34641343_7205\Main.java:25: 错误: 非法的类型开始
for (int i = 0; i<M; i++)
^
0_0_34641343_7205\Main.java:25: 错误: 需要<标识符>
for (int i = 0; i<M; i++)
^
0_0_34641343_7205\Main.java:25: 错误: 需要';'
for (int i = 0; i<M; i++)
^
0_0_34641343_7205\Main.java:25: 错误: 需要>
for (int i = 0; i<M; i++)
^
0_0_34641343_7205\Main.java:25: 错误: 需要'('
for (int i = 0; i<M; i++)
^
0_0_34641343_7205\Main.java:30: 错误: 非法的类型开始
for (int i = 0; i<N; i++)
^
0_0_34641343_7205\Main.java:30: 错误: 需要')'
for (int i = 0; i<N; i++)
^
0_0_34641343_7205\Main.java:30: 错误: 非法的类型开始
for (int i = 0; i<N; i++)
^
0_0_34641343_7205\Main.java:30: 错误: 需要<标识符>
for (int i = 0; i<N; i++)
^
0_0_34641343_7205\Main.java:30: 错误: 需要';'
for (int i = 0; i<N; i++)
^
0_0_34641343_7205\Main.java:30: 错误: 需要>
for (int i = 0; i<N; i++)
^
0_0_34641343_7205\Main.java:30: 错误: 需要'('
for (int i = 0; i<N; i++)
^
0_0_34641343_7205\Main.java:38: 错误: 需要<标识符>
Arrays.sort(shirt, new Comparator<Shirt>() {
^
0_0_34641343_7205\Main.java:38: 错误: 需要<标识符>
Arrays.sort(shirt, new Comparator<Shirt>() {
^
0_0_34641343_7205\Main.java:38: 错误: 非法的类型开始
Arrays.sort(shirt, new Comparator<Shirt>() {
^
0_0_34641343_7205\Main.java:38: 错误: 需要')'
Arrays.sort(shirt, new Comparator<Shirt>() {
^
0_0_34641343_7205\Main.java:38: 错误: 需要';'
Arrays.sort(shirt, new Comparator<Shirt>() {
^
0_0_34641343_7205\Main.java:38: 错误: 需要<标识符>
Arrays.sort(shirt, new Comparator<Shirt>() {
^
0_0_34641343_7205\Main.java:38: 错误: 非法的类型开始
Arrays.sort(shirt, new Comparator<Shirt>() {
^
0_0_34641343_7205\Main.java:38: 错误: 需要<标识符>
Arrays.sort(shirt, new Comparator<Shirt>() {
^
0_0_34641343_7205\Main.java:38: 错误: 需要';'
Arrays.sort(shirt, new Comparator<Shirt>() {
^
0_0_34641343_7205\Main.java:45: 错误: 需要class, interface或enum
});
^
0_0_34641343_7205\Main.java:46: 错误: 需要class, interface或enum
for(int i=0;i<K;i++)
^
0_0_34641343_7205\Main.java:46: 错误: 需要class, interface或enum
for(int i=0;i<K;i++)
^
0_0_34641343_7205\Main.java:46: 错误: 需要class, interface或enum
for(int i=0;i<K;i++)
^
0_0_34641343_7205\Main.java:48: 错误: 需要class, interface或enum
Arrays.sort(num);
^
0_0_34641343_7205\Main.java:49: 错误: 需要class, interface或enum
for(int i=K-1;i>0;i--)
^
0_0_34641343_7205\Main.java:49: 错误: 需要class, interface或enum
for(int i=K-1;i>0;i--)
^
0_0_34641343_7205\Main.java:49: 错误: 需要class, interface或enum
for(int i=K-1;i>0;i--)
^
0_0_34641343_7205\Main.java:51: 错误: 需要class, interface或enum
System.out.println(num[0]);
^
0_0_34641343_7205\Main.java:52: 错误: 需要class, interface或enum
}
^
45 个错误
|