F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_29385853_26367\Main.java:2: 错误: 需要class, interface或enum
        int len = a.length;
        ^
0_0_29385853_26367\Main.java:3: 错误: 需要class, interface或enum
        int low = 0,high = len - 1;
        ^
0_0_29385853_26367\Main.java:4: 错误: 需要class, interface或enum
        quickSort(a,c, low, high);
        ^
0_0_29385853_26367\Main.java:5: 错误: 需要class, interface或enum
    }
    ^
0_0_29385853_26367\Main.java:10: 错误: 需要class, interface或enum
        }
        ^
0_0_29385853_26367\Main.java:12: 错误: 需要class, interface或enum
        int high = h;
        ^
0_0_29385853_26367\Main.java:13: 错误: 需要class, interface或enum
        double k = a[low];
        ^
0_0_29385853_26367\Main.java:14: 错误: 需要class, interface或enum
        double k2 = c[low][0];
        ^
0_0_29385853_26367\Main.java:15: 错误: 需要class, interface或enum
        double k3 = c[low][1];
        ^
0_0_29385853_26367\Main.java:16: 错误: 需要class, interface或enum
        while(low< high){
        ^
0_0_29385853_26367\Main.java:20: 错误: 需要class, interface或enum
            }
            ^
0_0_29385853_26367\Main.java:22: 错误: 需要class, interface或enum
            c[low][0] = c[high][0];
            ^
0_0_29385853_26367\Main.java:23: 错误: 需要class, interface或enum
            c[low][1] = c[high][1];
            ^
0_0_29385853_26367\Main.java:24: 错误: 需要class, interface或enum
            while(low<high&&a[low]<=k){//寻找元素左边比其大的
            ^
0_0_29385853_26367\Main.java:26: 错误: 需要class, interface或enum
            }
            ^
0_0_29385853_26367\Main.java:28: 错误: 需要class, interface或enum
            c[high][0] = c[low][0];
            ^
0_0_29385853_26367\Main.java:29: 错误: 需要class, interface或enum
            c[high][1] = c[low][1];
            ^
0_0_29385853_26367\Main.java:30: 错误: 需要class, interface或enum
        }
        ^
0_0_29385853_26367\Main.java:32: 错误: 需要class, interface或enum
        c[low][0] = k2;
        ^
0_0_29385853_26367\Main.java:33: 错误: 需要class, interface或enum
        c[low][1] = k3;
        ^
0_0_29385853_26367\Main.java:34: 错误: 需要class, interface或enum
        quickSort(a, c,l, low-1);
        ^
0_0_29385853_26367\Main.java:35: 错误: 需要class, interface或enum
        quickSort(a, c,low+1, h);
        ^
0_0_29385853_26367\Main.java:36: 错误: 需要class, interface或enum
    }
    ^
23 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-17 21:41:23, Gzip enabled