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_28716106_11079.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>
         ^
0_0_28716106_11079.cpp:2:7: error: stray '#' in program
 using namespace std;
       ^
0_0_28716106_11079.cpp:2:22: error: stray '#' in program
 using namespace std;
                      ^
0_0_28716106_11079.cpp:3:5: error: stray '#' in program
 int main()
     ^
0_0_28716106_11079.cpp:5:2: error: stray '#' in program
  int a,b;
  ^
0_0_28716106_11079.cpp:5:11: error: stray '#' in program
  int a,b;
           ^
0_0_28716106_11079.cpp:6:2: error: stray '#' in program
  while(cin>>a>>b){
  ^
0_0_28716106_11079.cpp:7:2: error: stray '#' in program
      if(a==0 && b==0)
  ^
0_0_28716106_11079.cpp:7:8: error: stray '#' in program
      if(a==0 && b==0)
        ^
0_0_28716106_11079.cpp:7:14: error: stray '#' in program
      if(a==0 && b==0)
              ^
0_0_28716106_11079.cpp:7:20: error: stray '#' in program
      if(a==0 && b==0)
                    ^
0_0_28716106_11079.cpp:7:26: error: stray '#' in program
      if(a==0 && b==0)
                          ^
0_0_28716106_11079.cpp:7:39: error: stray '#' in program
      if(a==0 && b==0)
                                       ^
0_0_28716106_11079.cpp:7:47: error: stray '#' in program
      if(a==0 && b==0)
                                               ^
0_0_28716106_11079.cpp:8:2: error: stray '#' in program
    break;
  ^
0_0_28716106_11079.cpp:8:8: error: stray '#' in program
    break;
        ^
0_0_28716106_11079.cpp:8:14: error: stray '#' in program
    break;
              ^
0_0_28716106_11079.cpp:9:2: error: stray '#' in program
   cout<<(a+b)<<endl;
  ^
0_0_28716106_11079.cpp:9:8: error: stray '#' in program
   cout<<(a+b)<<endl;
        ^
0_0_28716106_11079.cpp:10:2: error: stray '#' in program
  }
  ^
0_0_28716106_11079.cpp:11:2: error: stray '#' in program
  return 0;
  ^
0_0_28716106_11079.cpp:11:14: error: stray '#' in program
  return 0;
              ^
0_0_28716106_11079.cpp:2:6: error: expected nested-name-specifier before '&' token
 using namespace std;
      ^
0_0_28716106_11079.cpp:2:21: error: expected identifier before '&' token
 using namespace std;
                     ^
0_0_28716106_11079.cpp:2:23: error: expected unqualified-id before numeric constant
 using namespace std;
                       ^
0_0_28716106_11079.cpp:2:23: error: expected constructor, destructor, or type conversion before numeric constant
0_0_28716106_11079.cpp:2:27: error: 'std' does not name a type
 using namespace std;
                           ^
0_0_28716106_11079.cpp:3:6: error: expected unqualified-id before numeric constant
 int main()
      ^
0_0_28716106_11079.cpp:3:6: error: expected initializer before numeric constant
0_0_28716106_11079.cpp: In function 'int main()':
0_0_28716106_11079.cpp:5:3: error: lvalue required as unary '&' operand
  int a,b;
   ^
0_0_28716106_11079.cpp:5:12: error: expected unqualified-id before numeric constant
  int a,b;
            ^
0_0_28716106_11079.cpp:5:12: error: expected initializer before numeric constant
0_0_28716106_11079.cpp:5:16: error: 'a' was not declared in this scope
  int a,b;
                ^
0_0_28716106_11079.cpp:5:18: error: 'b' was not declared in this scope
  int a,b;
                  ^
0_0_28716106_11079.cpp:6:3: error: lvalue required as unary '&' operand
  while(cin>>a>>b){
   ^
0_0_28716106_11079.cpp:6:13: error: 'cin' was not declared in this scope
  while(cin>>a>>b){
             ^
0_0_28716106_11079.cpp:7:3: error: lvalue required as unary '&' operand
      if(a==0 && b==0)
   ^
0_0_28716106_11079.cpp:7:9: error: lvalue required as unary '&' operand
      if(a==0 && b==0)
         ^
0_0_28716106_11079.cpp:7:15: error: lvalue required as unary '&' operand
      if(a==0 && b==0)
               ^
0_0_28716106_11079.cpp:7:21: error: lvalue required as unary '&' operand
      if(a==0 && b==0)
                     ^
0_0_28716106_11079.cpp:7:27: error: lvalue required as unary '&' operand
      if(a==0 && b==0)
                           ^
0_0_28716106_11079.cpp:7:43: error: expected ')' before ';' token
      if(a==0 && b==0)
                                           ^
0_0_28716106_11079.cpp:7:46: error: expected identifier before '&' token
      if(a==0 && b==0)
                                              ^
0_0_28716106_11079.cpp:8:9: error: lvalue required as unary '&' operand
    break;
         ^
0_0_28716106_11079.cpp:8:15: error: lvalue required as unary '&' operand
    break;
               ^
0_0_28716106_11079.cpp:9:3: error: lvalue required as unary '&' operand
   cout<<(a+b)<<endl;
   ^
0_0_28716106_11079.cpp:9:9: error: lvalue required as unary '&' operand
   cout<<(a+b)<<endl;
         ^
0_0_28716106_11079.cpp:9:13: error: 'cout' was not declared in this scope
   cout<<(a+b)<<endl;
             ^
0_0_28716106_11079.cpp:9:26: error: 'endl' was not declared in this scope
   cout<<(a+b)<<endl;
                          ^
0_0_28716106_11079.cpp:10:3: error: lvalue required as unary '&' operand
  }
   ^
0_0_28716106_11079.cpp:11:3: error: lvalue required as unary '&' operand
  return 0;
   ^
0_0_28716106_11079.cpp:11:15: 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-11-18 20:41:11, Gzip enabled