记录详情

Compile Error

/in/foo.c:1:1: warning: data definition has no type or storage class
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
 ^~~~~~~~~~
/in/foo.c:1:1: warning: type defaults to 'int' in declaration of 'Month_ping' [-Wimplicit-int]
/in/foo.c:1:12: error: expected expression before '[' token
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
            ^
/in/foo.c:1:15: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
               ^
/in/foo.c:1:18: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
                  ^
/in/foo.c:1:21: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
                     ^
/in/foo.c:1:24: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
                        ^
/in/foo.c:1:27: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
                           ^
/in/foo.c:1:30: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
                              ^
/in/foo.c:1:33: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
                                 ^
/in/foo.c:1:36: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
                                    ^
/in/foo.c:1:39: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
                                       ^
/in/foo.c:1:42: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
                                          ^
/in/foo.c:1:45: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 Month_ping=[31,28,31,30,31,30,31,31,30,31,30,31]
                                             ^

信息

递交者
类型
自测
题目
P1001 判断月份
语言
C
递交时间
2024-03-05 22:03:43
评测时间
2024-03-05 22:03:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes