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_31753747_7164.cpp:5:2: error: stray '#' in program
     int n,m;
  ^
0_0_31753747_7164.cpp:5:9: error: stray '#' in program
     int n,m;
         ^
0_0_31753747_7164.cpp:6:2: error: stray '#' in program
     while(cin>>n>>m)
  ^
0_0_31753747_7164.cpp:6:9: error: stray '#' in program
     while(cin>>n>>m)
         ^
0_0_31753747_7164.cpp:7:2: error: stray '#' in program
     {
  ^
0_0_31753747_7164.cpp:7:9: error: stray '#' in program
     {
         ^
0_0_31753747_7164.cpp:8:2: error: stray '#' in program
         if(n==0&&m==0)
  ^
0_0_31753747_7164.cpp:8:9: error: stray '#' in program
         if(n==0&&m==0)
         ^
0_0_31753747_7164.cpp:8:16: error: stray '#' in program
         if(n==0&&m==0)
                ^
0_0_31753747_7164.cpp:8:23: error: stray '#' in program
         if(n==0&&m==0)
                       ^
0_0_31753747_7164.cpp:9:2: error: stray '#' in program
             break;
  ^
0_0_31753747_7164.cpp:9:9: error: stray '#' in program
             break;
         ^
0_0_31753747_7164.cpp:9:16: error: stray '#' in program
             break;
                ^
0_0_31753747_7164.cpp:9:23: error: stray '#' in program
             break;
                       ^
0_0_31753747_7164.cpp:9:30: error: stray '#' in program
             break;
                              ^
0_0_31753747_7164.cpp:9:37: error: stray '#' in program
             break;
                                     ^
0_0_31753747_7164.cpp:10:2: error: stray '#' in program
         if((n&1)&&(m&1))
  ^
0_0_31753747_7164.cpp:10:9: error: stray '#' in program
         if((n&1)&&(m&1))
         ^
0_0_31753747_7164.cpp:10:16: error: stray '#' in program
         if((n&1)&&(m&1))
                ^
0_0_31753747_7164.cpp:10:23: error: stray '#' in program
         if((n&1)&&(m&1))
                       ^
0_0_31753747_7164.cpp:11:2: error: stray '#' in program
             cout<<"What a pity!"<<endl;
  ^
0_0_31753747_7164.cpp:11:9: error: stray '#' in program
             cout<<"What a pity!"<<endl;
         ^
0_0_31753747_7164.cpp:11:16: error: stray '#' in program
             cout<<"What a pity!"<<endl;
                ^
0_0_31753747_7164.cpp:11:23: error: stray '#' in program
             cout<<"What a pity!"<<endl;
                       ^
0_0_31753747_7164.cpp:11:30: error: stray '#' in program
             cout<<"What a pity!"<<endl;
                              ^
0_0_31753747_7164.cpp:11:37: error: stray '#' in program
             cout<<"What a pity!"<<endl;
                                     ^
0_0_31753747_7164.cpp:12:2: error: stray '#' in program
         else
  ^
0_0_31753747_7164.cpp:12:9: error: stray '#' in program
         else
         ^
0_0_31753747_7164.cpp:12:16: error: stray '#' in program
         else
                ^
0_0_31753747_7164.cpp:12:23: error: stray '#' in program
         else
                       ^
0_0_31753747_7164.cpp:13:2: error: stray '#' in program
             cout<<"Wonderful!"<<endl;
  ^
0_0_31753747_7164.cpp:13:9: error: stray '#' in program
             cout<<"Wonderful!"<<endl;
         ^
0_0_31753747_7164.cpp:13:16: error: stray '#' in program
             cout<<"Wonderful!"<<endl;
                ^
0_0_31753747_7164.cpp:13:23: error: stray '#' in program
             cout<<"Wonderful!"<<endl;
                       ^
0_0_31753747_7164.cpp:13:30: error: stray '#' in program
             cout<<"Wonderful!"<<endl;
                              ^
0_0_31753747_7164.cpp:13:37: error: stray '#' in program
             cout<<"Wonderful!"<<endl;
                                     ^
0_0_31753747_7164.cpp:14:2: error: stray '#' in program
     }
  ^
0_0_31753747_7164.cpp:14:9: error: stray '#' in program
     }
         ^
0_0_31753747_7164.cpp:15:2: error: stray '#' in program
     return 0;
  ^
0_0_31753747_7164.cpp:15:9: error: stray '#' in program
     return 0;
         ^
0_0_31753747_7164.cpp: In function 'int main()':
0_0_31753747_7164.cpp:5:3: error: lvalue required as unary '&' operand
     int n,m;
   ^
0_0_31753747_7164.cpp:5:10: error: lvalue required as unary '&' operand
     int n,m;
          ^
0_0_31753747_7164.cpp:6:3: error: lvalue required as unary '&' operand
     while(cin>>n>>m)
   ^
0_0_31753747_7164.cpp:6:10: error: lvalue required as unary '&' operand
     while(cin>>n>>m)
          ^
0_0_31753747_7164.cpp:7:3: error: lvalue required as unary '&' operand
     {
   ^
0_0_31753747_7164.cpp:7:10: error: lvalue required as unary '&' operand
     {
          ^
0_0_31753747_7164.cpp:8:3: error: lvalue required as unary '&' operand
         if(n==0&&m==0)
   ^
0_0_31753747_7164.cpp:8:10: error: lvalue required as unary '&' operand
         if(n==0&&m==0)
          ^
0_0_31753747_7164.cpp:8:17: error: lvalue required as unary '&' operand
         if(n==0&&m==0)
                 ^
0_0_31753747_7164.cpp:8:24: error: lvalue required as unary '&' operand
         if(n==0&&m==0)
                        ^
0_0_31753747_7164.cpp:9:3: error: lvalue required as unary '&' operand
             break;
   ^
0_0_31753747_7164.cpp:9:10: error: lvalue required as unary '&' operand
             break;
          ^
0_0_31753747_7164.cpp:9:17: error: lvalue required as unary '&' operand
             break;
                 ^
0_0_31753747_7164.cpp:9:24: error: lvalue required as unary '&' operand
             break;
                        ^
0_0_31753747_7164.cpp:9:31: error: lvalue required as unary '&' operand
             break;
                               ^
0_0_31753747_7164.cpp:9:38: error: lvalue required as unary '&' operand
             break;
                                      ^
0_0_31753747_7164.cpp:9:43: error: break statement not within loop or switch
             break;
                                           ^
0_0_31753747_7164.cpp:10:3: error: lvalue required as unary '&' operand
         if((n&1)&&(m&1))
   ^
0_0_31753747_7164.cpp:10:10: error: lvalue required as unary '&' operand
         if((n&1)&&(m&1))
          ^
0_0_31753747_7164.cpp:10:17: error: lvalue required as unary '&' operand
         if((n&1)&&(m&1))
                 ^
0_0_31753747_7164.cpp:10:24: error: lvalue required as unary '&' operand
         if((n&1)&&(m&1))
                        ^
0_0_31753747_7164.cpp:11:3: error: lvalue required as unary '&' operand
             cout<<"What a pity!"<<endl;
   ^
0_0_31753747_7164.cpp:11:10: error: lvalue required as unary '&' operand
             cout<<"What a pity!"<<endl;
          ^
0_0_31753747_7164.cpp:11:17: error: lvalue required as unary '&' operand
             cout<<"What a pity!"<<endl;
                 ^
0_0_31753747_7164.cpp:11:24: error: lvalue required as unary '&' operand
             cout<<"What a pity!"<<endl;
                        ^
0_0_31753747_7164.cpp:11:31: error: lvalue required as unary '&' operand
             cout<<"What a pity!"<<endl;
                               ^
0_0_31753747_7164.cpp:11:38: error: lvalue required as unary '&' operand
             cout<<"What a pity!"<<endl;
                                      ^
0_0_31753747_7164.cpp:12:3: error: lvalue required as unary '&' operand
         else
   ^
0_0_31753747_7164.cpp:12:10: error: lvalue required as unary '&' operand
         else
          ^
0_0_31753747_7164.cpp:12:17: error: lvalue required as unary '&' operand
         else
                 ^
0_0_31753747_7164.cpp:12:24: error: lvalue required as unary '&' operand
         else
                        ^
0_0_31753747_7164.cpp:12:29: error: 'else' without a previous 'if'
         else
                             ^
0_0_31753747_7164.cpp:13:3: error: lvalue required as unary '&' operand
             cout<<"Wonderful!"<<endl;
   ^
0_0_31753747_7164.cpp:13:10: error: lvalue required as unary '&' operand
             cout<<"Wonderful!"<


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-16 20:23:04, Gzip enabled