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_30262746_25569.cpp: In function 'int main()':
0_0_30262746_25569.cpp:29:3: error: expected ';' before 'int'
   int a=0,b=0,c=0;
   ^
0_0_30262746_25569.cpp:32:4: error: 'c' was not declared in this scope
    c=1;
    ^
0_0_30262746_25569.cpp:36:4: error: 'c' was not declared in this scope
    c=-1;
    ^
0_0_30262746_25569.cpp:40:4: error: 'b' was not declared in this scope
    b=1;
    ^
0_0_30262746_25569.cpp:44:4: error: 'b' was not declared in this scope
    b=-1;
    ^
0_0_30262746_25569.cpp:48:4: error: 'a' was not declared in this scope
    a=1;
    ^
0_0_30262746_25569.cpp:52:4: error: 'a' was not declared in this scope
    a=-1; 
    ^
0_0_30262746_25569.cpp:54:16: error: 'a' was not declared in this scope
   int temp=abs(a)+abs(b)+abs(c);
                ^
0_0_30262746_25569.cpp:54:23: error: 'b' was not declared in this scope
   int temp=abs(a)+abs(b)+abs(c);
                       ^
0_0_30262746_25569.cpp:54:30: error: 'c' was not declared in this scope
   int temp=abs(a)+abs(b)+abs(c);
                              ^


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-30 14:47:09, Gzip enabled