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_17592318_24631.c:2:22: error: expected identifier or '(' before '/' token
 int sorted[MAX_SIZE];//已经排好序的数据  
                      ^
0_0_17592318_24631.c:2:22: error: stray '\322' in program
0_0_17592318_24631.c:2:22: error: stray '\321' in program
0_0_17592318_24631.c:2:22: error: stray '\276' in program
0_0_17592318_24631.c:2:22: error: stray '\255' in program
0_0_17592318_24631.c:2:22: error: stray '\305' in program
0_0_17592318_24631.c:2:22: error: stray '\305' in program
0_0_17592318_24631.c:2:22: error: stray '\272' in program
0_0_17592318_24631.c:2:22: error: stray '\303' in program
0_0_17592318_24631.c:2:22: error: stray '\320' in program
0_0_17592318_24631.c:2:22: error: stray '\362' in program
0_0_17592318_24631.c:2:22: error: stray '\265' in program
0_0_17592318_24631.c:2:22: error: stray '\304' in program
0_0_17592318_24631.c:2:22: error: stray '\312' in program
0_0_17592318_24631.c:2:22: error: stray '\375' in program
0_0_17592318_24631.c:2:22: error: stray '\276' in program
0_0_17592318_24631.c:2:22: error: stray '\335' in program
0_0_17592318_24631.c: In function 'build_tree':
0_0_17592318_24631.c:10:32: error: expected expression before '/' token
     int same = mid - left + 1; //位于左子树的数据  
                                ^
0_0_17592318_24631.c:10:32: error: stray '\316' in program
0_0_17592318_24631.c:10:32: error: stray '\273' in program
0_0_17592318_24631.c:10:32: error: stray '\323' in program
0_0_17592318_24631.c:10:32: error: stray '\332' in program
0_0_17592318_24631.c:10:32: error: stray '\327' in program
0_0_17592318_24631.c:10:32: error: stray '\363' in program
0_0_17592318_24631.c:10:32: error: stray '\327' in program
0_0_17592318_24631.c:10:32: error: stray '\323' in program
0_0_17592318_24631.c:10:32: error: stray '\312' in program
0_0_17592318_24631.c:10:32: error: stray '\367' in program
0_0_17592318_24631.c:10:32: error: stray '\265' in program
0_0_17592318_24631.c:10:32: error: stray '\304' in program
0_0_17592318_24631.c:10:32: error: stray '\312' in program
0_0_17592318_24631.c:10:32: error: stray '\375' in program
0_0_17592318_24631.c:10:32: error: stray '\276' in program
0_0_17592318_24631.c:10:32: error: stray '\335' in program
0_0_17592318_24631.c:11:5: error: stray '\274' in program
     for (i = left; i <= right; ++i) {//计算放于左子树中与中位数相等的数字个数  
     ^
0_0_17592318_24631.c:11:5: error: stray '\306' in program
0_0_17592318_24631.c:11:5: error: stray '\313' in program
0_0_17592318_24631.c:11:5: error: stray '\343' in program
0_0_17592318_24631.c:11:5: error: stray '\267' in program
0_0_17592318_24631.c:11:5: error: stray '\305' in program
0_0_17592318_24631.c:11:5: error: stray '\323' in program
0_0_17592318_24631.c:11:5: error: stray '\332' in program
0_0_17592318_24631.c:11:5: error: stray '\327' in program
0_0_17592318_24631.c:11:5: error: stray '\363' in program
0_0_17592318_24631.c:11:5: error: stray '\327' in program
0_0_17592318_24631.c:11:5: error: stray '\323' in program
0_0_17592318_24631.c:11:5: error: stray '\312' in program
0_0_17592318_24631.c:11:5: error: stray '\367' in program
0_0_17592318_24631.c:11:5: error: stray '\326' in program
0_0_17592318_24631.c:11:5: error: stray '\320' in program
0_0_17592318_24631.c:11:5: error: stray '\323' in program
0_0_17592318_24631.c:11:5: error: stray '\353' in program
0_0_17592318_24631.c:11:5: error: stray '\326' in program
0_0_17592318_24631.c:11:5: error: stray '\320' in program
0_0_17592318_24631.c:11:5: error: stray '\316' in program
0_0_17592318_24631.c:11:5: error: stray '\273' in program
0_0_17592318_24631.c:11:5: error: stray '\312' in program
0_0_17592318_24631.c:11:5: error: stray '\375' in program
0_0_17592318_24631.c:11:5: error: stray '\317' in program
0_0_17592318_24631.c:11:5: error: stray '\340' in program
0_0_17592318_24631.c:11:5: error: stray '\265' in program
0_0_17592318_24631.c:11:5: error: stray '\310' in program
0_0_17592318_24631.c:11:5: error: stray '\265' in program
0_0_17592318_24631.c:11:5: error: stray '\304' in program
0_0_17592318_24631.c:11:5: error: stray '\312' in program
0_0_17592318_24631.c:11:5: error: stray '\375' in program
0_0_17592318_24631.c:11:5: error: stray '\327' in program
0_0_17592318_24631.c:11:5: error: stray '\326' in program
0_0_17592318_24631.c:11:5: error: stray '\270' in program
0_0_17592318_24631.c:11:5: error: stray '\366' in program
0_0_17592318_24631.c:11:5: error: stray '\312' in program
0_0_17592318_24631.c:11:5: error: stray '\375' in program
0_0_17592318_24631.c:22:28: error: 'ls' undeclared (first use in this function)
             tree[deep + 1][ls++] = tree[deep][i];  
                            ^
0_0_17592318_24631.c:22:28: note: each undeclared identifier is reported only once for each function it appears in
0_0_17592318_24631.c:28:9: error: 'toleft' undeclared (first use in this function)
         toleft[deep][i] = toleft[deep][i - 1]+flag;  
         ^
0_0_17592318_24631.c: In function 'query':
0_0_17592318_24631.c:38:13: error: 'toleft' undeclared (first use in this function)
     int x = toleft[deep][left - 1] - toleft[deep][L - 1];//位于left左边的放于左子树中的数字个数  
             ^
0_0_17592318_24631.c:38:58: error: expected expression before '/' token
     int x = toleft[deep][left - 1] - toleft[deep][L - 1];//位于left左边的放于左子树中的数字个数  
                                                          ^
0_0_17592318_24631.c:38:58: error: stray '\316' in program
0_0_17592318_24631.c:38:58: error: stray '\273' in program
0_0_17592318_24631.c:38:58: error: stray '\323' in program
0_0_17592318_24631.c:38:58: error: stray '\332' in program
0_0_17592318_24631.c:38:58: error: stray '\327' in program
0_0_17592318_24631.c:38:58: error: stray '\363' in program
0_0_17592318_24631.c:38:58: error: stray '\261' in program
0_0_17592318_24631.c:38:58: error: stray '\337' in program
0_0_17592318_24631.c:38:58: error: stray '\265' in program
0_0_17592318_24631.c:38:58: error: stray '\304' in program
0_0_17592318_24631.c:38:58: error: stray '\267' in program
0_0_17592318_24631.c:38:58: error: stray '\305' in program
0_0_17592318_24631.c:38:58: error: stray '\323' in program
0_0_17592318_24631.c:38:58: error: stray '\332' in program
0_0_17592318_24631.c:38:58: error: stray '\327' in program
0_0_17592318_24631.c:38:58: error: stray '\363' in program
0_0_17592318_24631.c:38:58: error: stray '\327' in program
0_0_17592318_24631.c:38:58: error: stray '\323' in program
0_0_17592318_24631.c:38:58: error: stray '\312' in program
0_0_17592318_24631.c:38:58: error: stray '\367' in program
0_0_17592318_24631.c:38:58: error: stray '\326' in program
0_0_17592318_24631.c:38:58: error: stray '\320' in program
0_0_17592318_24631.c:38:58: error: stray '\265' in program
0_0_17592318_24631.c:38:58: error: stray '\304' in program
0_0_17592318_24631.c:38:58: error: stray '\312' in program
0_0_17592318_24631.c:38:58: error: stray '\375' in program
0_0_17592318_24631.c:38:58: error: stray '\327' in program
0_0_17592318_24631.c:38:58: error: stray '\326' in program
0_0_17592318_24631.c:38:58: error: stray '\270' in program
0_0_17592318_24631.c:38:58: error: stray '\366' in program
0_0_17592318_24631.c:38:58: error: stray '\312' in program
0_0_17592318_24631.c:38:58: error: stray '\375' in program
0_0_17592318_24631.c:39:55: error: expected expression before '/' token
     int y = toleft[deep][right] - toleft[deep][L - 1];//到right为止位于左子树的个数  
                                                       ^
0_0_17592318_24631.c:39:55: error: stray '\265' in program
0_0_17592318_24631.c:39:55: error: stray '\275' in program
0_0_17592318_24631.c:39:55: error: stray '\316' in program
0_0_17592318_24631.c:39:55: error: stray '\252' in program
0_0_17592318_24631.c:39:55: error: stray '\326' in program
0_0_17592318_24631.c:39:55: error: stray '\271' in program
0_0_17592318_24631.c:39:55: error: stray '\316' in program
0_0_17592318_24631.c:39:55: error: stray '\273' in program
0_0_17592318_24631.c:39:55: error: stray '\323' in program
0_0_17592318_24631.c:39:55: error: stray '\332' in program
0_0_17592318_24631.c:39:55: error: stray '\327' in program
0_0_17592318_24631.c:39:55: error: stray '\363' in program
0_0_17592318_24631.c:39:55: error: stray '\327' in program
0_0_17592318_24631.c:39:55: error: stray '\323' in program
0_0_17592318_24631.c:39:55: error: stray '\312' in program
0_0_17592318_24631.c:39:55: error: stray '\367' in program
0_0_17592318_24631.c:39:55: error: stray '\265' in program
0_0_17592318_24631.c:39:55: error: stray '\304' in program
0_0_17592318_24631.c:39:55: error: stray '\270' in program
0_0_17592318_24631.c:39:55: error: stray '\366' in program
0_0_17592318_24631.c:39:55: error: stray '\312' in program
0_0_17592318_24631.c:39:55: error: stray '\375' in program
0_0_17592318_24631.c:40:28: error: expected expression before '/' token
     int ry = right - L - y;//到right右边为止位于右子树的数字个数  
                            ^
0_0_17592318


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-02 02:54:45, Gzip enabled