编写题解 1039: 宏定义之闰年判断
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;#define LEAP_YEAR(y) if(y%4==0&&y%100!=……
1039题 : 宏定义之闰年判断
摘要:# 自己写代码
```c
#include
#include
#define LEAP_YEAR(y) ;
int main()
{
return 0;
}
```
#……
[编程入门]宏定义之闰年判断 def模块版
摘要:解题思路:注意事项:参考代码:def LEAP_YEAR(y): if y%400==0 or (y%4==0 and y%100!=0) : print('L')……
编写题解 1039: [编程入门]宏定义之闰年判断
摘要:解题思路:注意事项:参考代码:def LEAP_YEAR(y):
return 'L' if (y % 4 == 0 and y % 100 != 0) or y % 400……
恒定义之闰年判断[c]
摘要:解题思路: 闰年 判断y%4==0&&y%100!=0||y%400==0?'L':'N' 注意事项:参考代码: #include<stdio.h> ……