Compile Error

foo.cc: In function ‘int getDays(int, int)’:
foo.cc:8:25: error: ‘isLeap’ was not declared in this scope
    8 |     else if(m==2)return isLeap(y)?29:28;
      |                         ^~~~~~

信息

递交者
类型
自测
题目
P2881 时间跨越2025.3GESP2级T2
语言
C++
递交时间
2026-05-01 14:52:41
评测时间
2026-05-01 14:52:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes