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_20089903_10281.c: In function 'main':
0_0_20089903_10281.c:9:26: error: lvalue required as left operand of assignment
   num<0?num=abs(num):flag=1;//正数就是flag=1,反之为0,num等于其绝度值
                          ^
0_0_20089903_10281.c:9:29: error: expected expression before '/' token
   num<0?num=abs(num):flag=1;//正数就是flag=1,反之为0,num等于其绝度值
                             ^
0_0_20089903_10281.c:9:29: error: stray '\325' in program
0_0_20089903_10281.c:9:29: error: stray '\375' in program
0_0_20089903_10281.c:9:29: error: stray '\312' in program
0_0_20089903_10281.c:9:29: error: stray '\375' in program
0_0_20089903_10281.c:9:29: error: stray '\276' in program
0_0_20089903_10281.c:9:29: error: stray '\315' in program
0_0_20089903_10281.c:9:29: error: stray '\312' in program
0_0_20089903_10281.c:9:29: error: stray '\307' in program
0_0_20089903_10281.c:9:29: error: stray '\267' in program
0_0_20089903_10281.c:9:29: error: stray '\264' in program
0_0_20089903_10281.c:9:29: error: stray '\326' in program
0_0_20089903_10281.c:9:29: error: stray '\256' in program
0_0_20089903_10281.c:9:29: error: stray '\316' in program
0_0_20089903_10281.c:9:29: error: stray '\252' in program
0_0_20089903_10281.c:9:29: error: stray '\243' in program
0_0_20089903_10281.c:9:29: error: stray '\254' in program
0_0_20089903_10281.c:9:29: error: stray '\265' in program
0_0_20089903_10281.c:9:29: error: stray '\310' in program
0_0_20089903_10281.c:9:29: error: stray '\323' in program
0_0_20089903_10281.c:9:29: error: stray '\332' in program
0_0_20089903_10281.c:9:29: error: stray '\306' in program
0_0_20089903_10281.c:9:29: error: stray '\344' in program
0_0_20089903_10281.c:9:29: error: stray '\276' in program
0_0_20089903_10281.c:9:29: error: stray '\370' in program
0_0_20089903_10281.c:9:29: error: stray '\266' in program
0_0_20089903_10281.c:9:29: error: stray '\310' in program
0_0_20089903_10281.c:9:29: error: stray '\326' in program
0_0_20089903_10281.c:9:29: error: stray '\265' in program
0_0_20089903_10281.c:13:4: error: 'nu' undeclared (first use in this function)
    nu[i]=num%n;
    ^
0_0_20089903_10281.c:13:4: note: each undeclared identifier is reported only once for each function it appears in


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-16 23:29:24, Gzip enabled