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_35053055_20648.c: In function 'cmp':
0_0_35053055_20648.c:11:11: error: 'city' undeclared (first use in this function)
 return (*(city*)a).rich > (*(city*)b).rich ? 1 : -1;
           ^
0_0_35053055_20648.c:11:11: note: each undeclared identifier is reported only once for each function it appears in
0_0_35053055_20648.c:11:16: error: expected expression before ')' token
 return (*(city*)a).rich > (*(city*)b).rich ? 1 : -1;
                ^
0_0_35053055_20648.c:11:35: error: expected expression before ')' token
 return (*(city*)a).rich > (*(city*)b).rich ? 1 : -1;
                                   ^
0_0_35053055_20648.c: At top level:
0_0_35053055_20648.c:14:15: error: expected identifier or '(' before '/' token
 int a[500001];//ÔÂÁÁÐÐ
               ^
0_0_35053055_20648.c:14:15: error: stray '\324' in program
0_0_35053055_20648.c:14:15: error: stray '\302' in program
0_0_35053055_20648.c:14:15: error: stray '\301' in program
0_0_35053055_20648.c:14:15: error: stray '\301' in program
0_0_35053055_20648.c:14:15: error: stray '\320' in program
0_0_35053055_20648.c:14:15: error: stray '\320' in program
0_0_35053055_20648.c:19:1: error: stray '\320' in program
 //int a[500001];////////////////////ÐÇÐÇÐÐ
 ^
0_0_35053055_20648.c:19:1: error: stray '\307' in program
0_0_35053055_20648.c:19:1: error: stray '\320' in program
0_0_35053055_20648.c:19:1: error: stray '\307' in program
0_0_35053055_20648.c:19:1: error: stray '\320' in program
0_0_35053055_20648.c:19:1: error: stray '\320' in program


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-10-05 22:03:48, Gzip enabled