Compile Error
/in/foo.c: In function 'main':
/in/foo.c:18:16: warning: implicit declaration of function 'getDaysInMonth' [-Wimplicit-function-declaration]
   18 |     int days = getDaysInMonth(month, year);
      |                ^~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccVO50qY.o: in function `main':
foo.c:(.text.startup+0x2f): undefined reference to `getDaysInMonth'
collect2: error: ld returned 1 exit status
  信息
- 递交者
- 类型
- 递交
- 比赛
- 2025-python-1-2
- 语言
- C
- 递交时间
- 2025-03-30 10:43:41
- 评测时间
- 2025-03-30 10:43:41
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes