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_31921740_16993.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>  
         ^
0_0_31921740_16993.cpp:2:5: error: stray '#' in program
 int main(){
     ^
0_0_31921740_16993.cpp:3:5: error: stray '#' in program
 int a, b;   
     ^
0_0_31921740_16993.cpp:3:14: error: stray '#' in program
 int a, b;   
              ^
0_0_31921740_16993.cpp:3:23: error: stray '#' in program
 int a, b;   
                       ^
0_0_31921740_16993.cpp:3:30: error: stray '#' in program
 int a, b;   
                              ^
0_0_31921740_16993.cpp:3:37: error: stray '#' in program
 int a, b;   
                                     ^
0_0_31921740_16993.cpp:4:21: error: stray '#' in program
 while(scanf("%d%d", &a, &b)!=EOF)
                     ^
0_0_31921740_16993.cpp:4:31: error: stray '#' in program
 while(scanf("%d%d", &a, &b)!=EOF)
                               ^
0_0_31921740_16993.cpp:5:16: error: stray '#' in program
 printf("%d\n", a+b);
                ^
0_0_31921740_16993.cpp:6:8: error: stray '#' in program
 return 0;
        ^
0_0_31921740_16993.cpp:2:6: error: expected unqualified-id before numeric constant
 int main(){
      ^
0_0_31921740_16993.cpp:2:6: error: expected initializer before numeric constant
0_0_31921740_16993.cpp: In function 'int main()':
0_0_31921740_16993.cpp:3:6: error: expected unqualified-id before numeric constant
 int a, b;   
      ^
0_0_31921740_16993.cpp:3:6: error: expected initializer before numeric constant
0_0_31921740_16993.cpp:3:11: error: 'a' was not declared in this scope
 int a, b;   
           ^
0_0_31921740_16993.cpp:3:15: error: lvalue required as unary '&' operand
 int a, b;   
               ^
0_0_31921740_16993.cpp:3:20: error: 'b' was not declared in this scope
 int a, b;   
                    ^
0_0_31921740_16993.cpp:3:24: error: lvalue required as unary '&' operand
 int a, b;   
                        ^
0_0_31921740_16993.cpp:3:31: error: lvalue required as unary '&' operand
 int a, b;   
                               ^
0_0_31921740_16993.cpp:3:38: error: lvalue required as unary '&' operand
 int a, b;   
                                      ^
0_0_31921740_16993.cpp:4:22: error: lvalue required as unary '&' operand
 while(scanf("%d%d", &a, &b)!=EOF)
                      ^
0_0_31921740_16993.cpp:4:26: error: expected ')' before ';' token
 while(scanf("%d%d", &a, &b)!=EOF)
                          ^
0_0_31921740_16993.cpp:4:32: error: lvalue required as unary '&' operand
 while(scanf("%d%d", &a, &b)!=EOF)
                                ^
0_0_31921740_16993.cpp:6:9: error: lvalue required as unary '&' operand
 return 0;
         ^


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-07-06 03:42:34, Gzip enabled