/ Vijos /

记录详情

Compile Error

foo.c: In function 'caculatedate':
foo.c:12:9: error: 'intdaysinmonth' undeclared (first use in this function)
   12 |         intdaysinmonth[]={31,28,31,30,31,30,31,31,30,31,30,31};
      |         ^~~~~~~~~~~~~~
foo.c:12:9: note: each undeclared identifier is reported only once for each function it appears in
foo.c:12:24: error: expected expression before ']' token
   12 |         intdaysinmonth[]={31,28,31,30,31,30,31,31,30,31,30,31};
      |                        ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1211 生日日数
语言
C
递交时间
2023-07-30 12:37:08
评测时间
2023-07-30 12:37:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes