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_16927143_31074\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>  
^
0_0_16927143_31074\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>  
         ^
0_0_16927143_31074\Main.java:2: 错误: 非法字符: '#'
#include <stdlib.h>  
^
0_0_16927143_31074\Main.java:4: 错误: 非法字符: '#'
#define _N 105  
^
0_0_16927143_31074\Main.java:8: 错误: 需要class, interface或enum
int binSearch(int key, int length)  
^
0_0_16927143_31074\Main.java:11: 错误: 需要class, interface或enum
    int low = 0;  
    ^
0_0_16927143_31074\Main.java:12: 错误: 需要class, interface或enum
    int center;  
    ^
0_0_16927143_31074\Main.java:13: 错误: 需要class, interface或enum
    while(low <= high)  
    ^
0_0_16927143_31074\Main.java:16: 错误: 需要class, interface或enum
        if(b[center] == key)  
        ^
0_0_16927143_31074\Main.java:19: 错误: 需要class, interface或enum
        }else if(b[center] < key)  
        ^
0_0_16927143_31074\Main.java:22: 错误: 需要class, interface或enum
        }else  
        ^
0_0_16927143_31074\Main.java:25: 错误: 需要class, interface或enum
        }  
        ^
0_0_16927143_31074\Main.java:28: 错误: 需要class, interface或enum
}  
^
0_0_16927143_31074\Main.java:32: 错误: 需要class, interface或enum
}  
^
0_0_16927143_31074\Main.java:38: 错误: 需要class, interface或enum
    while(~scanf("%d%d", &n, &m))  
    ^
0_0_16927143_31074\Main.java:42: 错误: 需要class, interface或enum
        for(i = 0; i < n; i++)  
        ^
0_0_16927143_31074\Main.java:42: 错误: 需要class, interface或enum
        for(i = 0; i < n; i++)  
                   ^
0_0_16927143_31074\Main.java:42: 错误: 需要class, interface或enum
        for(i = 0; i < n; i++)  
                          ^
0_0_16927143_31074\Main.java:44: 错误: 需要class, interface或enum
        for(i = 0; i < m; i++)  
        ^
0_0_16927143_31074\Main.java:44: 错误: 需要class, interface或enum
        for(i = 0; i < m; i++)  
                   ^
0_0_16927143_31074\Main.java:44: 错误: 需要class, interface或enum
        for(i = 0; i < m; i++)  
                          ^
0_0_16927143_31074\Main.java:46: 错误: 需要class, interface或enum
        qsort(b, m, sizeof(int), cmp);  
        ^
0_0_16927143_31074\Main.java:47: 错误: 需要class, interface或enum
        qsort(a, n, sizeof(int), cmp);  
        ^
0_0_16927143_31074\Main.java:48: 错误: 需要class, interface或enum
        for(i = 0, j = 0; i < n; i++)  
        ^
0_0_16927143_31074\Main.java:48: 错误: 需要class, interface或enum
        for(i = 0, j = 0; i < n; i++)  
                          ^
0_0_16927143_31074\Main.java:48: 错误: 需要class, interface或enum
        for(i = 0, j = 0; i < n; i++)  
                                 ^
0_0_16927143_31074\Main.java:52: 错误: 需要class, interface或enum
        }  
        ^
0_0_16927143_31074\Main.java:56: 错误: 需要class, interface或enum
            continue;  
            ^
0_0_16927143_31074\Main.java:57: 错误: 需要class, interface或enum
        }  
        ^
0_0_16927143_31074\Main.java:60: 错误: 需要class, interface或enum
            for(i = 0; i < j - 1; i++)  
                       ^
0_0_16927143_31074\Main.java:60: 错误: 需要class, interface或enum
            for(i = 0; i < j - 1; i++)  
                                  ^
0_0_16927143_31074\Main.java:62: 错误: 需要class, interface或enum
        }  
        ^
0_0_16927143_31074\Main.java:64: 错误: 需要class, interface或enum
    }  
    ^
0_0_16927143_31074\Main.java:66: 错误: 需要class, interface或enum
}  
^
34 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-08 01:51:23, Gzip enabled