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_20565020_26336.c:5:39: error: expected identifier or '(' before '/' token
 int ex_people[1005],ex_house[1005];   ///农民和房子的期望
                                       ^
0_0_20565020_26336.c:5:39: error: stray '\305' in program
0_0_20565020_26336.c:5:39: error: stray '\251' in program
0_0_20565020_26336.c:5:39: error: stray '\303' in program
0_0_20565020_26336.c:5:39: error: stray '\361' in program
0_0_20565020_26336.c:5:39: error: stray '\272' in program
0_0_20565020_26336.c:5:39: error: stray '\315' in program
0_0_20565020_26336.c:5:39: error: stray '\267' in program
0_0_20565020_26336.c:5:39: error: stray '\277' in program
0_0_20565020_26336.c:5:39: error: stray '\327' in program
0_0_20565020_26336.c:5:39: error: stray '\323' in program
0_0_20565020_26336.c:5:39: error: stray '\265' in program
0_0_20565020_26336.c:5:39: error: stray '\304' in program
0_0_20565020_26336.c:5:39: error: stray '\306' in program
0_0_20565020_26336.c:5:39: error: stray '\332' in program
0_0_20565020_26336.c:5:39: error: stray '\315' in program
0_0_20565020_26336.c:5:39: error: stray '\373' in program
0_0_20565020_26336.c:6:23: error: expected identifier or '(' before '/' token
 int link[305][305];   ///农民和房子之间的联系
                       ^
0_0_20565020_26336.c:6:23: error: stray '\305' in program
0_0_20565020_26336.c:6:23: error: stray '\251' in program
0_0_20565020_26336.c:6:23: error: stray '\303' in program
0_0_20565020_26336.c:6:23: error: stray '\361' in program
0_0_20565020_26336.c:6:23: error: stray '\272' in program
0_0_20565020_26336.c:6:23: error: stray '\315' in program
0_0_20565020_26336.c:6:23: error: stray '\267' in program
0_0_20565020_26336.c:6:23: error: stray '\277' in program
0_0_20565020_26336.c:6:23: error: stray '\327' in program
0_0_20565020_26336.c:6:23: error: stray '\323' in program
0_0_20565020_26336.c:6:23: error: stray '\326' in program
0_0_20565020_26336.c:6:23: error: stray '\256' in program
0_0_20565020_26336.c:6:23: error: stray '\274' in program
0_0_20565020_26336.c:6:23: error: stray '\344' in program
0_0_20565020_26336.c:6:23: error: stray '\265' in program
0_0_20565020_26336.c:6:23: error: stray '\304' in program
0_0_20565020_26336.c:6:23: error: stray '\301' in program
0_0_20565020_26336.c:6:23: error: stray '\252' in program
0_0_20565020_26336.c:6:23: error: stray '\317' in program
0_0_20565020_26336.c:6:23: error: stray '\265' in program
0_0_20565020_26336.c:7:19: error: expected identifier or '(' before '/' token
 int slack[305];   ///房子被买需要的最小期望
                   ^
0_0_20565020_26336.c:7:19: error: stray '\267' in program
0_0_20565020_26336.c:7:19: error: stray '\277' in program
0_0_20565020_26336.c:7:19: error: stray '\327' in program
0_0_20565020_26336.c:7:19: error: stray '\323' in program
0_0_20565020_26336.c:7:19: error: stray '\261' in program
0_0_20565020_26336.c:7:19: error: stray '\273' in program
0_0_20565020_26336.c:7:19: error: stray '\302' in program
0_0_20565020_26336.c:7:19: error: stray '\362' in program
0_0_20565020_26336.c:7:19: error: stray '\320' in program
0_0_20565020_26336.c:7:19: error: stray '\350' in program
0_0_20565020_26336.c:7:19: error: stray '\322' in program
0_0_20565020_26336.c:7:19: error: stray '\252' in program
0_0_20565020_26336.c:7:19: error: stray '\265' in program
0_0_20565020_26336.c:7:19: error: stray '\304' in program
0_0_20565020_26336.c:7:19: error: stray '\327' in program
0_0_20565020_26336.c:7:19: error: stray '\356' in program
0_0_20565020_26336.c:7:19: error: stray '\320' in program
0_0_20565020_26336.c:7:19: error: stray '\241' in program
0_0_20565020_26336.c:7:19: error: stray '\306' in program
0_0_20565020_26336.c:7:19: error: stray '\332' in program
0_0_20565020_26336.c:7:19: error: stray '\315' in program
0_0_20565020_26336.c:7:19: error: stray '\373' in program
0_0_20565020_26336.c:8:39: error: expected identifier or '(' before '/' token
 int vis_people[305],vis_house[305];   ///标记农民和房子是否被访问
                                       ^
0_0_20565020_26336.c:8:39: error: stray '\261' in program
0_0_20565020_26336.c:8:39: error: stray '\352' in program
0_0_20565020_26336.c:8:39: error: stray '\274' in program
0_0_20565020_26336.c:8:39: error: stray '\307' in program
0_0_20565020_26336.c:8:39: error: stray '\305' in program
0_0_20565020_26336.c:8:39: error: stray '\251' in program
0_0_20565020_26336.c:8:39: error: stray '\303' in program
0_0_20565020_26336.c:8:39: error: stray '\361' in program
0_0_20565020_26336.c:8:39: error: stray '\272' in program
0_0_20565020_26336.c:8:39: error: stray '\315' in program
0_0_20565020_26336.c:8:39: error: stray '\267' in program
0_0_20565020_26336.c:8:39: error: stray '\277' in program
0_0_20565020_26336.c:8:39: error: stray '\327' in program
0_0_20565020_26336.c:8:39: error: stray '\323' in program
0_0_20565020_26336.c:8:39: error: stray '\312' in program
0_0_20565020_26336.c:8:39: error: stray '\307' in program
0_0_20565020_26336.c:8:39: error: stray '\267' in program
0_0_20565020_26336.c:8:39: error: stray '\361' in program
0_0_20565020_26336.c:8:39: error: stray '\261' in program
0_0_20565020_26336.c:8:39: error: stray '\273' in program
0_0_20565020_26336.c:8:39: error: stray '\267' in program
0_0_20565020_26336.c:8:39: error: stray '\303' in program
0_0_20565020_26336.c:8:39: error: stray '\316' in program
0_0_20565020_26336.c:8:39: error: stray '\312' in program
0_0_20565020_26336.c:9:20: error: expected identifier or '(' before '/' token
 int belong[305];   ///记录房子被哪个农民买
                    ^
0_0_20565020_26336.c:9:20: error: stray '\274' in program
0_0_20565020_26336.c:9:20: error: stray '\307' in program
0_0_20565020_26336.c:9:20: error: stray '\302' in program
0_0_20565020_26336.c:9:20: error: stray '\274' in program
0_0_20565020_26336.c:9:20: error: stray '\267' in program
0_0_20565020_26336.c:9:20: error: stray '\277' in program
0_0_20565020_26336.c:9:20: error: stray '\327' in program
0_0_20565020_26336.c:9:20: error: stray '\323' in program
0_0_20565020_26336.c:9:20: error: stray '\261' in program
0_0_20565020_26336.c:9:20: error: stray '\273' in program
0_0_20565020_26336.c:9:20: error: stray '\304' in program
0_0_20565020_26336.c:9:20: error: stray '\304' in program
0_0_20565020_26336.c:9:20: error: stray '\270' in program
0_0_20565020_26336.c:9:20: error: stray '\366' in program
0_0_20565020_26336.c:9:20: error: stray '\305' in program
0_0_20565020_26336.c:9:20: error: stray '\251' in program
0_0_20565020_26336.c:9:20: error: stray '\303' in program
0_0_20565020_26336.c:9:20: error: stray '\361' in program
0_0_20565020_26336.c:9:20: error: stray '\302' in program
0_0_20565020_26336.c:9:20: error: stray '\362' in program
0_0_20565020_26336.c: In function 'dfs':
0_0_20565020_26336.c:18:22: error: expected expression before '/' token
 int dfs(int p_id){   ///给第p_id个农民找房子
                      ^
0_0_20565020_26336.c:18:22: error: stray '\270' in program
0_0_20565020_26336.c:18:22: error: stray '\370' in program
0_0_20565020_26336.c:18:22: error: stray '\265' in program
0_0_20565020_26336.c:18:22: error: stray '\332' in program
0_0_20565020_26336.c:18:22: error: stray '\270' in program
0_0_20565020_26336.c:18:22: error: stray '\366' in program
0_0_20565020_26336.c:18:22: error: stray '\305' in program
0_0_20565020_26336.c:18:22: error: stray '\251' in program
0_0_20565020_26336.c:18:22: error: stray '\303' in program
0_0_20565020_26336.c:18:22: error: stray '\361' in program
0_0_20565020_26336.c:18:22: error: stray '\325' in program
0_0_20565020_26336.c:18:22: error: stray '\322' in program
0_0_20565020_26336.c:18:22: error: stray '\267' in program
0_0_20565020_26336.c:18:22: error: stray '\277' in program
0_0_20565020_26336.c:18:22: error: stray '\327' in program
0_0_20565020_26336.c:18:22: error: stray '\323' in program
0_0_20565020_26336.c:22:13: error: 'vis_house' undeclared (first use in this function)
         if(!vis_house[i]){
             ^
0_0_20565020_26336.c:22:13: note: each undeclared identifier is reported only once for each function it appears in
0_0_20565020_26336.c:23:46: error: 'link' undeclared (first use in this function)
             int gap=ex_house[i]+ex_people[i]-link[p_id][i];   ///计算房子被买需要的期望
                                              ^
0_0_20565020_26336.c:23:63: error: expected expression before '/' token
             int gap=ex_house[i]+ex_people[i]-link[p_id][i];   ///计算房子被买需要的期望
                                                               ^
0_0_20565020_26336.c:23:63: error: stray '\274' in program
0_0_20565020_26336.c:23:63: error: stray '\306' in program
0_0_20565020_26336.c:23:63: error: stray '\313' in program
0_0_20565020_26336.c:23:63: error: stray '\343' in program
0_0_20565020_26336.c:23:63: error: stray '\267' in program
0_0_20565020_26336.c:23:63: error: stray '\277' in program
0_0_20565020_26336.c:23:63: error: stray '\327' in program
0_0_20565020_26336.c:23:63: error: stray '


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-11-29 18:16:55, Gzip enabled