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_27156367_12836.cpp:7:2: error: stray '#' in program
       a[1]=31,a[2]=28,a[3]=31,a[4]=30,a[5]=31,a[6]=30,a[7]=31,a[8]=31,a[9]=30,a[10]=31,a[11]=30,a[12]=31;
  ^
0_0_27156367_12836.cpp:7:9: error: stray '#' in program
       a[1]=31,a[2]=28,a[3]=31,a[4]=30,a[5]=31,a[6]=30,a[7]=31,a[8]=31,a[9]=30,a[10]=31,a[11]=30,a[12]=31;
         ^
0_0_27156367_12836.cpp:7:16: error: stray '#' in program
       a[1]=31,a[2]=28,a[3]=31,a[4]=30,a[5]=31,a[6]=30,a[7]=31,a[8]=31,a[9]=30,a[10]=31,a[11]=30,a[12]=31;
                ^
0_0_27156367_12836.cpp:11:2: error: stray '#' in program
    a[2]=28;           
  ^
0_0_27156367_12836.cpp:11:9: error: stray '#' in program
    a[2]=28;           
         ^
0_0_27156367_12836.cpp:11:24: error: stray '#' in program
    a[2]=28;           
                        ^
0_0_27156367_12836.cpp:11:31: error: stray '#' in program
    a[2]=28;           
                               ^
0_0_27156367_12836.cpp:11:38: error: stray '#' in program
    a[2]=28;           
                                      ^
0_0_27156367_12836.cpp:11:45: error: stray '#' in program
    a[2]=28;           
                                             ^
0_0_27156367_12836.cpp:11:52: error: stray '#' in program
    a[2]=28;           
                                                    ^
0_0_27156367_12836.cpp: In function 'int main()':
0_0_27156367_12836.cpp:7:3: error: lvalue required as unary '&' operand
       a[1]=31,a[2]=28,a[3]=31,a[4]=30,a[5]=31,a[6]=30,a[7]=31,a[8]=31,a[9]=30,a[10]=31,a[11]=30,a[12]=31;
   ^
0_0_27156367_12836.cpp:7:10: error: lvalue required as unary '&' operand
       a[1]=31,a[2]=28,a[3]=31,a[4]=30,a[5]=31,a[6]=30,a[7]=31,a[8]=31,a[9]=30,a[10]=31,a[11]=30,a[12]=31;
          ^
0_0_27156367_12836.cpp:7:17: error: lvalue required as unary '&' operand
       a[1]=31,a[2]=28,a[3]=31,a[4]=30,a[5]=31,a[6]=30,a[7]=31,a[8]=31,a[9]=30,a[10]=31,a[11]=30,a[12]=31;
                 ^
0_0_27156367_12836.cpp:11:3: error: lvalue required as unary '&' operand
    a[2]=28;           
   ^
0_0_27156367_12836.cpp:11:10: error: lvalue required as unary '&' operand
    a[2]=28;           
          ^
0_0_27156367_12836.cpp:11:25: error: lvalue required as unary '&' operand
    a[2]=28;           
                         ^
0_0_27156367_12836.cpp:11:32: error: lvalue required as unary '&' operand
    a[2]=28;           
                                ^
0_0_27156367_12836.cpp:11:39: error: lvalue required as unary '&' operand
    a[2]=28;           
                                       ^
0_0_27156367_12836.cpp:11:46: error: lvalue required as unary '&' operand
    a[2]=28;           
                                              ^
0_0_27156367_12836.cpp:11:53: error: lvalue required as unary '&' operand
    a[2]=28;           
                                                     ^


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 01:24:21, Gzip enabled