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_28801000_19668.cpp:11:3: error: stray '#' in program
         scanf("%d",&n);
   ^
0_0_28801000_19668.cpp:11:10: error: stray '#' in program
         scanf("%d",&n);
          ^
0_0_28801000_19668.cpp:11:17: error: stray '#' in program
         scanf("%d",&n);
                 ^
0_0_28801000_19668.cpp:11:24: error: stray '#' in program
         scanf("%d",&n);
                        ^
0_0_28801000_19668.cpp:13:3: error: stray '#' in program
         for (int a=1;a<=n;a++)
   ^
0_0_28801000_19668.cpp:13:10: error: stray '#' in program
         for (int a=1;a<=n;a++)
          ^
0_0_28801000_19668.cpp:13:17: error: stray '#' in program
         for (int a=1;a<=n;a++)
                 ^
0_0_28801000_19668.cpp:13:24: error: stray '#' in program
         for (int a=1;a<=n;a++)
                        ^
0_0_28801000_19668.cpp:16:3: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
   ^
0_0_28801000_19668.cpp:16:10: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
          ^
0_0_28801000_19668.cpp:16:17: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                 ^
0_0_28801000_19668.cpp:16:24: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                        ^
0_0_28801000_19668.cpp:16:31: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                               ^
0_0_28801000_19668.cpp:16:38: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                      ^
0_0_28801000_19668.cpp:16:72: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                        ^
0_0_28801000_19668.cpp:16:79: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                               ^
0_0_28801000_19668.cpp:16:86: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                                      ^
0_0_28801000_19668.cpp:16:93: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                                             ^
0_0_28801000_19668.cpp:16:100: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                                                    ^
0_0_28801000_19668.cpp:16:107: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                                                           ^
0_0_28801000_19668.cpp:16:114: error: stray '#' in program
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                                                                  ^
0_0_28801000_19668.cpp:18:3: error: stray '#' in program
         if (!Ans)
   ^
0_0_28801000_19668.cpp:18:10: error: stray '#' in program
         if (!Ans)
          ^
0_0_28801000_19668.cpp:18:17: error: stray '#' in program
         if (!Ans)
                 ^
0_0_28801000_19668.cpp:18:24: error: stray '#' in program
         if (!Ans)
                        ^
0_0_28801000_19668.cpp: In function 'int main()':
0_0_28801000_19668.cpp:11:4: error: lvalue required as unary '&' operand
         scanf("%d",&n);
    ^
0_0_28801000_19668.cpp:11:11: error: lvalue required as unary '&' operand
         scanf("%d",&n);
           ^
0_0_28801000_19668.cpp:11:18: error: lvalue required as unary '&' operand
         scanf("%d",&n);
                  ^
0_0_28801000_19668.cpp:11:25: error: lvalue required as unary '&' operand
         scanf("%d",&n);
                         ^
0_0_28801000_19668.cpp:13:4: error: lvalue required as unary '&' operand
         for (int a=1;a<=n;a++)
    ^
0_0_28801000_19668.cpp:13:11: error: lvalue required as unary '&' operand
         for (int a=1;a<=n;a++)
           ^
0_0_28801000_19668.cpp:13:18: error: lvalue required as unary '&' operand
         for (int a=1;a<=n;a++)
                  ^
0_0_28801000_19668.cpp:13:25: error: lvalue required as unary '&' operand
         for (int a=1;a<=n;a++)
                         ^
0_0_28801000_19668.cpp:16:4: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
    ^
0_0_28801000_19668.cpp:16:11: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
           ^
0_0_28801000_19668.cpp:16:18: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                  ^
0_0_28801000_19668.cpp:16:25: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                         ^
0_0_28801000_19668.cpp:16:32: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                ^
0_0_28801000_19668.cpp:16:39: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                       ^
0_0_28801000_19668.cpp:16:73: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                         ^
0_0_28801000_19668.cpp:16:80: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                                ^
0_0_28801000_19668.cpp:16:87: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                                       ^
0_0_28801000_19668.cpp:16:94: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                                              ^
0_0_28801000_19668.cpp:16:101: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                                                     ^
0_0_28801000_19668.cpp:16:108: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                                                            ^
0_0_28801000_19668.cpp:16:115: error: lvalue required as unary '&' operand
             if (a%6==0||a%6==2||a%6==5)               Ans^=x;
                                                                                                                   ^
0_0_28801000_19668.cpp:18:4: error: lvalue required as unary '&' operand
         if (!Ans)
    ^
0_0_28801000_19668.cpp:18:11: error: lvalue required as unary '&' operand
         if (!Ans)
           ^
0_0_28801000_19668.cpp:18:18: error: lvalue required as unary '&' operand
         if (!Ans)
                  ^
0_0_28801000_19668.cpp:18:25: error: lvalue required as unary '


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-05 23:44:05, Gzip enabled