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_35379314_21054.cpp: In function 'int main()':
0_0_35379314_21054.cpp:3:9: error: 'inta' was not declared in this scope
         inta,n,b;
         ^
0_0_35379314_21054.cpp:3:14: error: 'n' was not declared in this scope
         inta,n,b;
              ^
0_0_35379314_21054.cpp:3:16: error: 'b' was not declared in this scope
         inta,n,b;
                ^
0_0_35379314_21054.cpp:4:9: error: 'charc' was not declared in this scope
         charc;
         ^
0_0_35379314_21054.cpp:5:24: error: 'scanf' was not declared in this scope
        scanf("%d%*c",&n);
                        ^
0_0_35379314_21054.cpp:8:29: error: 'c' was not declared in this scope
            scanf("%c%d%*c",&c,&a);
                             ^
0_0_35379314_21054.cpp:8:32: error: 'a' was not declared in this scope
            scanf("%c%d%*c",&c,&a);
                                ^
0_0_35379314_21054.cpp:10:29: error: 'printf' was not declared in this scope
            printf("%d\n",a+b);    
                             ^
0_0_35379314_21054.cpp:12:9: error: 'return0' was not declared in this scope
         return0;
         ^
0_0_35379314_21054.cpp:12:16: error: expected '}' at end of input
         return0;
                ^


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-09-22 06:57:12, Gzip enabled