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_31440249_2590.cpp:4:2: error: stray '#' in program
     int a,b,sum;
  ^
0_0_31440249_2590.cpp:4:9: error: stray '#' in program
     int a,b,sum;
         ^
0_0_31440249_2590.cpp:5:2: error: stray '#' in program
     while(scanf("%d%d",&a,&b)!=EOF)
  ^
0_0_31440249_2590.cpp:5:9: error: stray '#' in program
     while(scanf("%d%d",&a,&b)!=EOF)
         ^
0_0_31440249_2590.cpp:7:2: error: stray '#' in program
         sum=a+b;
  ^
0_0_31440249_2590.cpp:7:9: error: stray '#' in program
         sum=a+b;
         ^
0_0_31440249_2590.cpp:7:16: error: stray '#' in program
         sum=a+b;
                ^
0_0_31440249_2590.cpp:7:23: error: stray '#' in program
         sum=a+b;
                       ^
0_0_31440249_2590.cpp:8:2: error: stray '#' in program
         printf("%d\n",sum);
  ^
0_0_31440249_2590.cpp:8:9: error: stray '#' in program
         printf("%d\n",sum);
         ^
0_0_31440249_2590.cpp:8:16: error: stray '#' in program
         printf("%d\n",sum);
                ^
0_0_31440249_2590.cpp:8:23: error: stray '#' in program
         printf("%d\n",sum);
                       ^
0_0_31440249_2590.cpp:9:2: error: stray '#' in program
         printf("\n");
  ^
0_0_31440249_2590.cpp:9:9: error: stray '#' in program
         printf("\n");
         ^
0_0_31440249_2590.cpp:9:16: error: stray '#' in program
         printf("\n");
                ^
0_0_31440249_2590.cpp:9:23: error: stray '#' in program
         printf("\n");
                       ^
0_0_31440249_2590.cpp:10:2: error: stray '#' in program
     }
  ^
0_0_31440249_2590.cpp:10:9: error: stray '#' in program
     }
         ^
0_0_31440249_2590.cpp:11:2: error: stray '#' in program
     return 0;
  ^
0_0_31440249_2590.cpp:11:9: error: stray '#' in program
     return 0;
         ^
0_0_31440249_2590.cpp: In function 'int main()':
0_0_31440249_2590.cpp:4:3: error: lvalue required as unary '&' operand
     int a,b,sum;
   ^
0_0_31440249_2590.cpp:4:10: error: lvalue required as unary '&' operand
     int a,b,sum;
          ^
0_0_31440249_2590.cpp:5:3: error: lvalue required as unary '&' operand
     while(scanf("%d%d",&a,&b)!=EOF)
   ^
0_0_31440249_2590.cpp:5:10: error: lvalue required as unary '&' operand
     while(scanf("%d%d",&a,&b)!=EOF)
          ^
0_0_31440249_2590.cpp:7:3: error: lvalue required as unary '&' operand
         sum=a+b;
   ^
0_0_31440249_2590.cpp:7:10: error: lvalue required as unary '&' operand
         sum=a+b;
          ^
0_0_31440249_2590.cpp:7:17: error: lvalue required as unary '&' operand
         sum=a+b;
                 ^
0_0_31440249_2590.cpp:7:24: error: lvalue required as unary '&' operand
         sum=a+b;
                        ^
0_0_31440249_2590.cpp:8:3: error: lvalue required as unary '&' operand
         printf("%d\n",sum);
   ^
0_0_31440249_2590.cpp:8:10: error: lvalue required as unary '&' operand
         printf("%d\n",sum);
          ^
0_0_31440249_2590.cpp:8:17: error: lvalue required as unary '&' operand
         printf("%d\n",sum);
                 ^
0_0_31440249_2590.cpp:8:24: error: lvalue required as unary '&' operand
         printf("%d\n",sum);
                        ^
0_0_31440249_2590.cpp:9:3: error: lvalue required as unary '&' operand
         printf("\n");
   ^
0_0_31440249_2590.cpp:9:10: error: lvalue required as unary '&' operand
         printf("\n");
          ^
0_0_31440249_2590.cpp:9:17: error: lvalue required as unary '&' operand
         printf("\n");
                 ^
0_0_31440249_2590.cpp:9:24: error: lvalue required as unary '&' operand
         printf("\n");
                        ^
0_0_31440249_2590.cpp:10:3: error: lvalue required as unary '&' operand
     }
   ^
0_0_31440249_2590.cpp:10:10: error: lvalue required as unary '&' operand
     }
          ^
0_0_31440249_2590.cpp:11:3: error: lvalue required as unary '&' operand
     return 0;
   ^
0_0_31440249_2590.cpp:11:10: 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-10-06 17:24:07, Gzip enabled